[opencms-dev] java.lang.OutOfMemoryError

Sebastien Dagnicourt sdagnicourt at oxauto.com
Tue Jun 17 08:29:02 CEST 2003

I had the same problem. I run OpenCms with MySql.
So I configure my mysql server to accept large packet by changing packet
size in the my.cnf file.

-----Message d'origine-----
De : Thomas März [mailto:thomasmaerz at gmx.de]
Envoyé : lundi 16 juin 2003 20:28
À : opencms-dev at opencms.org
Objet : Re: [opencms-dev] java.lang.OutOfMemoryError

ambiesense at gmx.de writes:
> I get an java.lang.OutOfMemoryError (displayed in Tomcat console) after
> trying to publish a 5 MB file. OpenCMS hangs after that and I have to
close the
> browser window. When I restart everything and try to delete the file I get
> same error. Something is terrible wrong here! 

See http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/java.html and
your catalina.bat resp. the catalina.sh.

|rem   JAVA_OPTS       (Optional) Java runtime options used when the
|rem                   "stop", or "run" command is executed.

> I have heard from a earlier questions that this might be a Java problem
> which can be solved by increasing the heap with the command parameter
> The question is:
> Is this the same problem ?

I think so; I had this issue once, too, when importing a file, but Tomcat
didn't crash. If this doesn't help, try to delete the file with the

Best Regards,
Thomas März

This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20030617/1392eb7f/attachment.html>

More information about the opencms-dev mailing list