[opencms-dev] Java heap space problem

David Sánchez Hernández sanher82 at gmail.com
Wed Jan 24 10:26:32 CET 2007


Hi,

I have a problem with the upload function in opencms 6.2.3. When I try to
upload an image which has 3 megas or more, i get an exception in opencms.log
:

23 Jan 2007 14:01:45,439 ERROR [rg.opencms.workplace.CmsDialog :1179]
java.lang.OutOfMemoryError: Java heap space

I have tried to fix it using commons-io-1.2.jar, and using
commons-fileupload-1.1.1 instead of commons-fileupload-1.0.jar, and I get
the same error. I'm going to debug it and to study the CmsNewResourceUpload
class. If anybody could help me I'd be so gratefull.

I give you some interesting information:

OpenCms: 6.2.3
Tomcat: jakarta-tomcat-5.0.28
Memory configuration is: CATALINA_OPTS="-Dfile.encoding=UTF-8 -Xms256M
-Xmx768M"
Operative System: SunOS neptuno 5.9 Generic_118558-30 sun4us sparc
FJSV,GPUZC-M
Data Base system: Oracle 10g


Thanks in advance,
David.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070124/e30c2929/attachment.htm>


More information about the opencms-dev mailing list