GC leaks debugging
Andrew Haley
aph@redhat.com
Tue Apr 5 12:55:00 GMT 2011
On 04/05/2011 01:02 PM, Erik Groeneveld wrote:
>>>
>>> I have done many tests, with different programs, which all run
>>> flawlessly on OpenJDK, but explode on GCJ. I have run some test last
>>> night, and I'll see from the logs that the heap is 1 GB, while about
>>> 700 MB of it is free.
>>
>> That sounds like it's working perfectly, then. What is the problem?
>
> The problem is that the tests don't use much memory at all, but the
> heap keeps expanding, the collection cycles become less frequent and
> take longer and longer. Even on a system with 64GB, it just fills it
> up.
>
> The tests work fine on OpenJDK. What could cause GCJ to grow the heap
> infinitely?
I don't know because you won't show me the tests.
Andrew.
More information about the Java
mailing list