<div dir="ltr">I configure:<br>set JAVA_OPTS=%JAVA_OPTS% -Xmx1024m -Xms1024m -Xmn512m -XX:PermSize=512M -XX:+UseParallelGC -XX:ParallelGCThreads=20 -XX:+AggressiveOpts<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-02-12 13:56 GMT-02:00 <span dir="ltr"><<a href="mailto:msorbera@kgbtexas.com" target="_blank">msorbera@kgbtexas.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face="arial" size="3"><p style="margin:0;padding:0">Two things seemed to have fixed the issue:</p>
<p style="margin:0;padding:0">1. Running Tomcat as a windows service</p>
<p style="margin:0;padding:0">2. Configuring the service using the tomcat7w.exe file in tomcat/bin</p>
<p style="margin:0;padding:0">3. Ensuring that in the startup and shutdown tabs that a working directory is there and pointing to the tomcat root</p>
<p style="margin:0;padding:0">4. No pool settings in the java tab</p>
<p style="margin:0;padding:0"> </p>
<p style="margin:0;padding:0">And putting set <span style="font-family:Arial;font-size:10pt"><span style="font-size:10pt">CATALINA_</span></span><span style="font-family:Arial;font-size:10pt"><span style="font-size:10pt">OPTS</span></span><span style="font-family:Arial;font-size:10pt"><span style="font-size:10pt">='-Xms512m -Xmx1024m -<span>XX<span>:PermSize</span></span>=256m -<span>XX:MaxPermSize</span>=356m' in the setenv.bat.</span></span></p>
<p style="margin:0;padding:0"> </p>
<p style="margin:0;padding:0">Thanks all!</p>
<p style="margin:0;padding:0">sasilverbullet</p><div><div class="h5">
<p style="margin:0;padding:0"> </p>
<p style="margin:0;padding:0"><br><br>-----Original Message-----<br>From: <a href="mailto:msorbera@kgbtexas.com" target="_blank">msorbera@kgbtexas.com</a><br>Sent: Tuesday, February 11, 2014 3:54pm<br>To: <a href="mailto:opencms-dev@opencms.org" target="_blank">opencms-dev@opencms.org</a><br>
Subject: [opencms-dev] permgen error<br><br></p>
<div><span style="font-family:arial;font-size:12pt">
<p style="margin:0;padding:0;margin:0;padding:0">On an XP box w/2 gig ram everything works fine, never any permgen problems. Basic Tomcat 7 with default opencms installation and MySql. I don't have any settings increased, yet it works fine.</p>
<p style="margin:0;padding:0;margin:0;padding:0"> </p>
<p style="margin:0;padding:0;margin:0;padding:0">On a Win 7 box with 8 gigs ram, get the permgen errors even after a little bit of work in opencms. Same basic installation. I created a setenv.bat and put it in the tomcat/bin with this entry: set JAVA_OPTS="-Xms1024m-Xmx1024m-XX:MaxPermSize=256m"</p>
<p style="margin:0;padding:0;margin:0;padding:0"> </p>
<p style="margin:0;padding:0;margin:0;padding:0">I also have the MySql max_allowed_packet size up'd to 500M.</p>
<p style="margin:0;padding:0;margin:0;padding:0"> </p>
<p style="margin:0;padding:0;margin:0;padding:0">Still has major permgen error problems.</p>
<p style="margin:0;padding:0;margin:0;padding:0"> </p>
<p style="margin:0;padding:0;margin:0;padding:0">Anyone have any suggestions?</p>
<p style="margin:0;padding:0;margin:0;padding:0"> </p>
<p style="margin:0;padding:0;margin:0;padding:0">Thanks,</p>
<p style="margin:0;padding:0;margin:0;padding:0">sasilverbullet</p>
<p style="margin:0;padding:0;margin:0;padding:0"> </p>
</span></div></div></div></font><br>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br><br clear="all"><br>-- <br><i><div><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><a href="http://www.solutioncms.com" target="_blank">www.solutioncms.com</a></i></span></div>
</i></span></div><div><span style="font-style:normal"><i><span style="font-style:normal"><i><div><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important">
<i>The Brazilian </i><span style="font-style:normal"><i><div style="display:inline!important"><span style="font-style:normal"><i><span style="font-style:normal"><i><div style="display:inline!important"><i>Official Provider OpenCms</i></div>
</i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div></i></span></i></span></div></i></span></div></i>
</div>