简体   繁体   中英

About heap dump for weblogic JRockit, the heap usage was fully eat up, but the heap dump size is small

In weblogic JRockit, sometimes the heap gets full (usage reaches the heap max size 4096M). However, after we dump the heap, the dump file size is only 200~ 300M. This it is strange, and on top of that we can not identify what objects occupy the heap through EMA tool.

Has anyone experienced similar and does someone know the JRockit heap dump mechanism?

Whenever you take heap dump a full GC will run and then heap will be dumped. May be that's the reason your heap dump size is very small.

If you want to analyze memory leak between Full GCs, then probably memory profilingusing a Java profiler (Mission Control, jProfiler, etc) is your only option.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM