![](/images/backgrounds/286181/hp-hp-ux-java-software-users-manual-156066122x1.png)
Monitor Memory and/or Heap Activity Menu
Heap MonitorDisplays free and used memory sizes in the heap and garbage collection events over time. The used heap space includes live objects and dead objects that have not yet been collected as garbage. Specifically, this visualizer shows the heap in use by objects in the eden space and in the old and survivor generations, but does not include the permanent generation. (See Basic Garbage Collection Concepts (page 87) if you are unfamiliar with these terms.)
This display indicates whether your application is doing many allocations, which typically correspond to the load level, or if your application is idle.
Figure
Guidelines
•Look for
To reduce intermittent long garbage collection pauses try changing the garbage collection algorithm with a JVM option. Refer to your JVM documentation.
•If the garbage collection events still take a long time, it may indicate a paging problem where the physical memory available to the application is too small for the specified maximum size.
The remedies include:
—Decrease the maximum heap size, with a corresponding decrease in the maximum load supported by your application.
—Remove other load from the system.
—Install more physical memory.
122 Using Visualizer Functions