Blogger

Delete comment from: Java EE Support Patterns

P-H said...

Hi Vladimir,

This parameter can only cause the Full GC to kickoff more often but should not lead to OOM. Based on your settings, you have a max heap size of 4 GB. NewRatio=2 means that 1/3 of your Heap Size will be allocated for the YoungGen space, quite typical.

Regarding your problem I recommend the following:

- Enable verbose:GC so you can first identify the Java heap depletion pattern e.g. sudden depletion vs. capacity problem vs. memory leak.

You can read this article on how to analyze the verbose:gc output.

## Blog and YouTube References
http://javaeesupportpatterns.blogspot.ca/2011/10/verbosegc-output-tutorial-java-7.html
http://www.youtube.com/watch?v=7CJCMKNoICE

Regards,
P-H

Apr 29, 2013, 5:23:20 PM


Posted to OutOfMemoryError PermGen using Weblogic 10.0 and Sun JDK 1.5

Google apps
Main menu