How to analyze a large heap?

Is there a tool for analyzing a large Java Heap dump (2 GB) if only one JVM can assign 1.5 GB? I can not believe that the dump should be fully loaded into memory for analysis ...

Eclipse MemoryAnalyzer error and IBM tool.

Do I need to use command line tools now?

+4
source share
1 answer

If it is a dev server, limit the maximum heap size to something that a 32-bit OS can handle. If it's in production, you need a 64-bit OS! If you cannot achieve this, you can run jhat on the server (you have a web interface that you can access on your PC).

+3
source

All Articles