This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to minimize (unshareable) memory usage?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]