How to minimize (unshareable) memory usage?
David Daney
ddaney@caviumnetworks.com
Mon Jan 18 17:56:00 GMT 2010
Hans Boehm wrote:
>
> The output of GC_dump() might also tell you something. It won't
> list heap sections associated with the system malloc. Note that the
> collector doesn't insist on a contiguous heap.
>
And if you want even more details about how memory is being used, there
is always the gnu.gcj.util.GCInfo class. That and the
gnu.gcj.tools.gc_analyze.MemoryAnalyze post processor give quite a bit
of information.
These facilities are built on top of GC_dump() but provide a more
detailed analysis of the contents of the memory.
David Daney
More information about the Java
mailing list