Skip to main content

Understanding memory settings in a problem application

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2012-02-29

I have an app running under WebSphere 6.1 that consitently runs out of memory:

[2/29/12 10:10:21:743 EST] 000001e5 SystemErr     R <span class="Apple-tab-span" style="white-space:pre"> </span>at com.sun.identity.authentication.AuthContext.runRemoteOldAuthContext(
[2/29/12 10:10:53:753 EST] 000001e0 SystemErr R Error during initial login process: java.lang.OutOfMemoryError: Java heap space
[2/29/12 10:10:53:754 EST] 000001e0 SystemErr R java.lang.OutOfMemoryError: Java heap space
[2/29/12 10:12:01:106 EST] 000001d5 SystemErr R Exception in thread &quot;WebContainer : 428&quot; java.lang.OutOfMemoryError: Java heap space

The app has an older Sun Access Manager agent sitting in front of it. Development has messed with JVM memory settings a number fo times, but to no avail. I would appreciate any assistance in interpreting / deciphering / critiquing the following settings:

-Xms1024m -Xmx1700m -XX:NewSize=640m -XX:MaxNewSize=640m -XX:SurvivorRatio=16 -XX:PermSize=256m -XX:MaxPermSize=256m

I'm not sure what the GC settings are.

- Mark