What is this error about?
Hi all...=))
This error is related to my SJSA server. Initially, the server is working fine. However, after I opened 2 projects which is of the same concept but a little bit of differences in codes and JSF components, the server can't be started.
Here is the error stated in the log file.
StandardWrapperValve[RemoteJmxConnectorServlet]: Servlet.service() for servlet RemoteJmxConnectorServlet threw exception
java.lang.OutOfMemoryError: PermGen space
What does PermGen space mean?
Message was edited by:
Wheelerz05
Message was edited by:
Wheelerz05
# 1
What version of the Application Server are you using? the error message in the logs for the JVM means...
Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.
It does look like your using Java 1.5. This error usually occurs when your running application server domain runs (or is running) out of memory.
You can increase the overall ram size, in your config/domain.xml file:
From 512, (default) to 1024 for example.
<jvm -options>-Xmx512m<jvm -options>
You should probably also increase your maxpermsize, which is the amount of memory allowed in your heap.
So perhaps add;
-XX:+AggressiveHeap
-XX:MaxPermSize=128m
-Xms1024m
-Xmx1024m
Make sure you restart your domain after making these changes, if you still get these outofmemory errors, please dont hesitate to log a support call with Sun.
Cheers,
Chris