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

Jonathan Woods jonathan.woods at scintillance.com
Fri May 5 19:05:46 CEST 2006


Sorry to hear about your problem.

>From a quick look at the format of the Zip file generated for a database
export, it does seem that you could delete the large PDF file.  If that
doesn't work, and the import fails because it can't find an expected
resource, you could try substituting the real PDF for a much smaller one
located in the same 'place' in the Zip archive.

Jon 

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Ivan Codarin
Sent: 05 May 2006 17:54
To: ivan.codarin at amm.uniud.it; The OpenCms mailing list
Subject: Re: [opencms-dev] [Urgent] Opencms 6.2.1::
java.lang.OutOfMemoryError:Java heap space

Hi
I forget to say that I'm using Postgresql (so I shouldn't have the problem
related to Mysql that I read in some posts...), and I didn't have problems
when I uploaded that file.

Thanks

Ivan Codarin wrote:
> 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
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list To change 
> your list options, or to unsubscribe from the list, please visit 
> http://lists.opencms.org/mailman/listinfo/opencms-dev


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list