有谁知道在Java中配置GC的好指南吗? [英] Does anyone know of a good guide to configure GC in Java?
问题描述
我在运行应用程序的JVM遇到问题,它的堆内存看起来像一把梳子。它不断从1.5 GB跳到3 GB,并逐渐恶化到更高的值。我使用G1 GC算法,但不知道如何配置它。
我无法访问正在运行的应用程序的代码,这是一个相当大的应用程序。
因此,底线,有谁知道在Java中配置GC的好指南吗?
这是使用5.0 Java虚拟机调整Garbage Collection 从Sun ... oops Oracle; - )
这里是适用于Java 6的链接
I'm having trouble with a JVM running an app, whose heap memory looks like a comb. It's constantly jumping from 1.5 GB to 3 GB and slowly deteriorating to higher values. I'm using G1 GC algorithm, but have no idea how to configure it.
I do not have access to the code of the app I'm running and, needless to say, it's a rather large app.
So, bottom line, does anyone know of a good guide to configure GC in Java?
Here it is Tuning Garbage Collection with the 5.0 Java Virtual Machine from Sun...oops Oracle ;-)
Here is the link for Java 6
这篇关于有谁知道在Java中配置GC的好指南吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!