[opencms-dev] [Urgent] Opencms 6.2.1:: java.lang.OutOfMemoryError: Java heap space

Ivan Codarin ivan.codarin at gmail.com
Fri May 5 18:47:01 CEST 2006


Dear All,
I'm in a big trouble!
I get this error " java.lang.OutOfMemoryError: Java heap space" where 
importing data (backupped from a 6.0.4) on a Opencms 6.2.1 system.

My tomcat instance is running with this parameters:

 /opt/sun-jdk-1.5.0.03/bin/java 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 
-Xmx512m -Xms256m -Djava.endorsed.dirs=/opt/tomcat55/common/endorsed 
-classpath 
:/opt/tomcat55/bin/bootstrap.jar:/opt/tomcat55/bin/commons-logging-api.jar 
-Dcatalina.base=/opt/tomcat55 -Dcatalina.home=/opt/tomcat55 
-Djava.io.tmpdir=/opt/tomcat55/temp 
org.apache.catalina.startup.Bootstrap start


so -Xmx512m -Xms256m.

The file being imported when the system throws the exception is about 
12MB PDF file...

What can I do!
May I remove that file from the .zip file generated by the "Export 
Database feature"??
Thanks
Ivan



More information about the opencms-dev mailing list