Memory leak

This page is a place to hang some documentation about the uPortal memory leak that seems to have been introduced between uP 2.0 and uP 2.1.

Showing the leak

A Rutgers graph

Free memory (as reported by the OS?). The big vertical jumps are JVM restarts.

Yale graphs

Daily

Weekly

Notice the decreasing trend: over time each GC results in less memory reclamation with the eventual result (takes > 1 week) of running out of memory. A slow memory leak. Early Sunday morning we take an outage for database maintenance and take that opportunity to restart the uPortal context, thereby restoring our free memory to baseline.