<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><span class=""><blockquote type="cite"><div dir="ltr"><br>Thinking out loud: have you tried increasing the
        permgen? I found during some performance tuning sessions
        that when running out of memory, OpenCms often gets into a
        corrupted state silently.</div>
    </blockquote>
    <br></span>
    Where would you put this increase? In tomcat configuration (Windows
    7) in the jvm options:<br>
    -XX:PermSize=384m<br>
    -XX:MaxPermSize=512m<span class=""><br>
    ?<br></span></div></blockquote><div><br></div><div>You're having problems with the script, aren't you? In that case, and as you've already noticed, the script invokes java in the last line: </div><div><br></div><div><span style="font-family:'Courier New',Courier,monospace;font-size:9px">java -classpath "${SERVLET_API}:${JSP_API}:${</span><span style="font-family:'Courier New',Courier,monospace;font-size:9px">OPENCMS_CLASSPATH}:${TOMCAT_</span><span style="font-family:'Courier New',Courier,monospace;font-size:9px">CLASSPATH}:classes" org.opencms.main.CmsShell -base="${OPENCMS_BASE}" "$@"</span><br></div><div><span style="font-family:'Courier New',Courier,monospace;font-size:9px"><br></span></div><div>That'd be my bet. I'd also try increasing Xmx Xms, just in case, to see if it helps.</div></div></div></div>