简体   繁体   English

关于weblogic JRockit的堆转储,堆使用量已被吃光,但是堆转储大小很小

[英]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). 在weblogic JRockit中,有时堆变满(使用量达到堆最大大小4096M)。 However, after we dump the heap, the dump file size is only 200~ 300M. 但是,转储堆后,转储文件大小仅为200〜300M。 This it is strange, and on top of that we can not identify what objects occupy the heap through EMA tool. 这很奇怪,最重要的是我们无法通过EMA工具识别哪些对象占据了堆。

Has anyone experienced similar and does someone know the JRockit heap dump mechanism? 有没有人经历过类似的事情,有人知道JRockit堆转储机制吗?

Whenever you take heap dump a full GC will run and then heap will be dumped. 每当进行堆转储时,将运行完整的GC,然后将转储堆。 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. 如果要分析Full GC之间的内存泄漏,则可能唯一的选择是使用Java Profiler(任务控制,jProfiler等)进行内存配置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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