Is This Content Helpful?
We're glad to know this article was helpful.
When viewing a Java Web mapping application created, using the ArcGIS Server Java Web Manager, the following errors may occur:
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: Java Heap Space
These errors are generally found in the ArcGIS Server Manager logs; for example: manager_stdout.txt, manager_stderr.txt, which is located in the $AGSHOME/java/manager/service/logs directory.
$AGSHOME refers to the ArcGIS Server installation directory.
The Java Virtual Machine (JVM) hosting the Web mapping application has reached the maximum allowed limit for PermGen memory.
ArcGIS Server provides an out-of-the-box Apache Tomcat Web server (running on port 8399) for hosting the Web applications and by default, the JVM memory size is limited. This version of Tomcat is bundled with ArcGIS Server and is referred to as 'internal Tomat' in this article.
Increase the maximum limit for PermGen Memory for the internal Tomcat JVM.
This feature is only available in ArcGIS Server 9.2 with Service Pack 4, and is also included in the future releases.
managerappserver.jvm.options=-Xms256m -Xmx256m -XX:MaxPermSize=1024m