What to Do about OutOfMemoryError 如何处理内存溢出错误
The jmap tool is useful in diagnosing excessive use of finalizers, which can result in an OutOfMemoryError.
jmap 工具可检测出是否过度使用了完成器,后者可导致出现 OutOfMemoryError 错误。
To gather more data, you can produce a system dump instead of a heap dump on an OutOfMemoryError exception.
为了收集更多的数据,您可以在Out Of MemoryError异常上生成一个系统转储文件,而非堆转储文件。
In addition, the IBM JDK is configured to generate a heap dump automatically if an OutOfMemoryError is detected.
此外,如果检测到了Out Of MemoryError,则将IBM JDK配置为自动产生堆转储。
应用推荐