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

Ivan Codarin ivan.codarin at gmail.com
Fri May 5 19:04:54 CEST 2006


Thanks Joe,
Now I'm trying with Xmx2048M and Xms512M...
the system has passed that file :) .
Thanks thanks.
I hope that now things will be ok.
Ivan

Joe Desbonnet wrote:
> I think this was reported before as an ongoing bug in OpenCms. As far
> as I know the only reliable way of backing up OpenCms is doing a
> database dump.... which doesn't help when upgrading.
>
> I think there was some discussion on this a long time ago if you want
> to try searching the email list.
>
> If you still have access to the old installation you could try saving
> the project in several batches (eg one export for each top level
> directory).
>
> Or try  unzipping the project ZIP and removing the large files and
> upload them manually (you may need need to edit the manifest.xml file
> to remove the corresponding file entry).
>
> Or try temporarly increasing the heap space to something huge eg
> -Xmx1000M if you have enough memory + paging disk space.
>
> Joe.
>
> On 5/5/06, Ivan Codarin <ivan.codarin at gmail.com> 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
>>




More information about the opencms-dev mailing list