<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 class="SpellE">XX<span class="GramE">:PermSize</span></span>=256m -<span class="SpellE">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>
<p style="margin:0;padding:0;"> </p>
<!--WM_COMPOSE_SIGNATURE_START--><!--WM_COMPOSE_SIGNATURE_END-->
<p style="margin:0;padding:0;"><br /><br />-----Original Message-----<br />From: msorbera@kgbtexas.com<br />Sent: Tuesday, February 11, 2014 3:54pm<br />To: opencms-dev@opencms.org<br />Subject: [opencms-dev] permgen error<br /><br /></p>
<div id="SafeStyles1392220437"><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></font>