Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 weblogic JRockit 中,有时堆已满(使用量达到堆最大大小 4096M)。但是,我们转储堆后,转储文件大小只有200~300M。这很奇怪,最重要的是,我们无法通过 EMA 工具识别哪些对象占用了堆。
有没有人经历过类似的事情,有人知道 JRockit 堆转储机制吗?
每当您进行堆转储时,将运行完整的 GC,然后转储堆。可能这就是您的堆转储大小非常小的原因。
如果您想分析 Full GC 之间的内存泄漏,那么可能使用 Java 分析器(Mission Control、jProfiler 等)进行内存分析是您唯一的选择。