[opencms-dev] Java memory error on importing

Serkan Durusoy [DNA | encoding the future] serkan.durusoy at dna-tr.com
Wed Jun 11 13:28:03 CEST 2008


Hi Christian,

I think this is again parallel to you Xmx setting. We have a homegrown
document archive solution that runs on Tomcat 5.5 and we can upload files
over 1GB of size. 

I also know of some settings auxilarry settings (like server.xml) in Tomcat
and other containers (oracle, websphere etc) that limit the upload file size
limit.

Regards,


Serkan Durusoy
DNA | encoding the future
[A] Goksuevleri Palmiye Cad. A54-b Anadolu Hisari - Istanbul - Turkiye
[T] +90 216 465 87 00
[F] +90 216 465 65 04
[U] www.dna-tr.com | www.sitepratik.com


-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Christian Hellinger
Sent: Wednesday, June 11, 2008 2:15 PM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Java memory error on importing

Hi,

has anybody any experience abot how big the files to upload may be then? 
IMHO this only moves the problem.

On a WAS we found a critical file size of 140 MB. Are there any other 
experiences?


Mit freundlichen Gruessen / Best regards

Christian Hellinger

--------------------------------------

DREGER INFORMATION TECHNOLOGY

J&J DREGER Consulting GmbH & Co. KG
Carl-Benz-Str. 35
D - 60386 Frankfurt am Main, Germany

Phone :    +49-69-90479-0
Fax   :    +49-69-90479-479

Email :    christian.hellinger at dreger.de
WWW   :    http://www.dreger.de

--------------------------------------

Consulting & Solutions: http://www.d-business.de
Mobile Solutions Competence Center: http://www.d-business.de/mscc

Business Development: http://www.1j1.com



"Serkan Durusoy [DNA | encoding the future]" <serkan.durusoy at dna-tr.com> 
Sent by: opencms-dev-bounces at opencms.org
11.06.2008 11:54
Please respond to
The OpenCms mailing list <opencms-dev at opencms.org>


To
"'The OpenCms mailing list'" <opencms-dev at opencms.org>
cc

Subject
Re: [opencms-dev] Java memory error on importing






Hello Alessio,
 
You should increase the available memory for your servlet container.
Assuming you are using Tomcat, you can add:
 
CATALINA_OPTS="-Xmx512M" at the beginning of catalina.bat (win) or
catalina.sh (linux).

If you are using a windows machine and Tomcat is installed as a service, 
you
can double click on the tomcat system tray icon (tomcat5w.exe), open tha
JAVA tab and set maximum memory pool to 512 MB.

Assumptions:
1) You are using tomcat (on windows)
2) You have at least 1GB Ram
 
Regards,

Serkan Durusoy
DNA | encoding the future
[A] Goksuevleri Palmiye Cad. A54-b Anadolu Hisari - Istanbul - Turkiye
[T] +90 216 465 87 00
[F] +90 216 465 65 04
[U] www.dna-tr.com | www.sitepratik.com

________________________________
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Alessio Brizi
Sent: Wednesday, June 11, 2008 12:38 PM
To: opencms-dev at opencms.org
Subject: [opencms-dev] Java memory error on importing

Hi, I'm new with this group and so with OpenCms, so I will appreciate any
help. Maybe my question was already asked but I didn't find anything that
helped me.

I'm trying to recreate an OpenCMS Installation on another machine. 
Importing
modules was made without any difficult.

Now I'm trying to import the VFS that was exported from the original
machine.

I receive a "java.lang.OutOfMemoryError: Java heap space" error when I
launch the "Import file from server"

Both OpenCMS installation are version 6.2.2

Maybe the error is in the file size. The .zip file is 80 MB, the
manifest.xml (decompressed) is 16MB.

How can I resolve this issue?


Alessio Brizi
alessio.brizi at rgbit.it <mailto:alessio.brizi at rgbit.it> 

RGBit s.r.l.
Via Luigi Casale, snc - 05100 Terni (TR) - ITALY
Tel. +39.0744.2070.01
Fax. +39.0744.2070.232
www.rgbit.it <http://www.rgbit.it/> 

________________________________

This e-mail is confidential and may well also be legally privileged. If 
you
have received it in error, you are on notice of its status. Please notify 
us
immediately by reply e-mail and then delete this message from your system.
Please do not copy it or use it for any purposes, or disclose its contents
to any other person: to do so could be a breach of confidence.

 



_______________________________________________
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


--------------------------------------
Sitz / Registergericht: Frankfurt am Main / Amtsgericht Frankfurt am Main
Registernummer: HRA 42705
Geschaeftsfuehrer: Jens Dreger, Joerg Dreger
USt.ID: DE244892265
--------------------------------------
Komplementaer-GmbH: J&J DREGER Verwaltungs GmbH, Carl-Benz-Str. 35, 60386
Frankfurt am Main
Sitz / Registergericht: Frankfurt am Main / Amtsgericht Frankfurt am Main
Registernummer: HRB 73891
Geschaeftsfuehrer: Jens Dreger, Joerg Dreger
--------------------------------------
Diese E-Mail inklusive aller Anhaenge koennte vertrauliche und/oder
rechtlich geschuetzte Informationen 
enthalten. Wenn Sie nicht der beabsichtigte Adressat sind, der diese E-Mail
irrtuemlich erhalten hat, 
informieren Sie bitte sofort den Absender und vernichten Sie alle Kopien
dieser E-Mail von Ihrem System. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind
nicht gestattet.

This e-mail and any attachment (both hereinafter called as e-mail)  may
contain confidential and/or privileged 
information. If you are not the intended recipient or have received this
e-mail in error please notify the sender 
immediately and destroy all copies of this e-mail from your system. Any
unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.


_______________________________________________
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