
Troubleshooting: Problems with JVM and out of memory errors
On Solaris, a runtime process fails and you receive an out of memory error.
Problem
When you attempt to perform at operation such enabling a feature or adding a shopping cart, JVM is terminated. You also receive an error message at WAS_installdir\profiles\demo\logs\server1\SystemOut.log similar to the following:java.lang.OutOfMemoryError: PermGen space
Solution
You need to set the value of MaxPermSize variable to 384M or larger
- Starting and stopping quick reference.
- Open the WebSphere Integrated Solutions Console.
- Click .
- Set the value of MaxPermSize to 384M or larger.
For example, enter
the following generic JVM arguments:
XX:MaxPermSize=384m
. - Click OK, and save the changes.