<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [opencms-dev] java.lang.OutOfMemoryError</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>I had the same problem. I run OpenCms with MySql.</FONT>
<BR><FONT SIZE=2>So I configure my mysql server to accept large packet by changing packet size in the my.cnf file.</FONT>
</P>

<P><FONT SIZE=2>-----Message d'origine-----</FONT>
<BR><FONT SIZE=2>De : Thomas März [<A HREF="mailto:thomasmaerz@gmx.de">mailto:thomasmaerz@gmx.de</A>]</FONT>
<BR><FONT SIZE=2>Envoyé : lundi 16 juin 2003 20:28</FONT>
<BR><FONT SIZE=2>À : opencms-dev@opencms.org</FONT>
<BR><FONT SIZE=2>Objet : Re: [opencms-dev] java.lang.OutOfMemoryError</FONT>
</P>
<BR>

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

<P><FONT SIZE=2>See <A HREF="http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/java.html" TARGET="_blank">http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/java.html</A> and</FONT>
<BR><FONT SIZE=2>your catalina.bat resp. the catalina.sh.</FONT>
</P>

<P><FONT SIZE=2>|rem   JAVA_OPTS       (Optional) Java runtime options used when the "start",</FONT>
<BR><FONT SIZE=2>|rem                   "stop", or "run" command is executed.</FONT>
</P>

<P><FONT SIZE=2>> I have heard from a earlier questions that this might be a Java problem</FONT>
<BR><FONT SIZE=2>> which can be solved by increasing the heap with the command parameter -Xmx256MB.</FONT>
<BR><FONT SIZE=2>> The question is:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Is this the same problem ?</FONT>
</P>

<P><FONT SIZE=2>I think so; I had this issue once, too, when importing a file, but Tomcat</FONT>
<BR><FONT SIZE=2>didn't crash. If this doesn't help, try to delete the file with the</FONT>
<BR><FONT SIZE=2>OpenCms-Shell. </FONT>
</P>

<P><FONT SIZE=2>Best Regards,</FONT>
<BR><FONT SIZE=2>Thomas März</FONT>
</P>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>This mail is send to you from the opencms-dev mailing list</FONT>
<BR><FONT SIZE=2>To change your list options, or to unsubscribe from the list, please visit</FONT>
<BR><FONT SIZE=2><A HREF="http://mail.opencms.org/mailman/listinfo/opencms-dev" TARGET="_blank">http://mail.opencms.org/mailman/listinfo/opencms-dev</A></FONT>
</P>

</BODY>
</HTML>