<div dir="ltr"><div>Hi List,</div><div><br></div><div>Resolved that problem stable and performance.</div><div><br></div><div>This is (4 problems):</div><div>OpenCms 8.5.2 use JTDS 1.2.2, library old (2005) for connection SQL Server 2008... Related problem <a href="http://sourceforge.net/p/jtds/bugs/562/">http://sourceforge.net/p/jtds/bugs/562/</a> - Report de memory leak. I suggest Alkacon update for recent driver, we are using the latest jdbc drive released by microsoft and greatly improved performance</div><div><br></div><div>Exist problem in configuration persistence OpenJPA in OpenCms 8.5.2, in \WEB-INF\classes\META-INF\persistence.xml</div><div>Strict parameterization of OpenJPA of caches - the SoftReferences cache can grow infinitely if not parameterized, we need change:</div><div><span class="" style="white-space:pre"> </span><!-- *** OpenJPA Query cache configuration *** --></div><div><span class="" style="white-space:pre"> </span><property name="openjpa.QueryCompilationCache" value="true(CacheSize=100, SoftReferenceSize=0)"/></div><div><span class="" style="white-space:pre"> </span><property name="openjpa.jdbc.QuerySQLCache" value="true(CacheSize=100, SoftReferenceSize=0)"/></div><div><br></div><div><span class="" style="white-space:pre"> </span><!-- *** OpenJPA Data cache configuration *** --></div><div><span class="" style="white-space:pre"> </span><property name-"openjpa.DataCache" value="true(CacheSize=1000, SoftReferenceSize=0, EvictionSchedule='0 22 * * *')"/></div><div><span class="" style="white-space:pre"> </span><property name="openjpa.DataCacheManager" value="ehcache(CacheSize=1000, SoftReferenceSize=0)"/></div><div><br></div><div>Change JVM for:</div><div><div>-server -Xms1536M -Xmx4096M -XX:PermSize=256M -XX:MaxPermSize=256M -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled </div><div>-XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=75 -XX:+ScavengeBeforeFullGC -XX:+CMSScavengeBeforeRemark<br></div><div><br></div></div><div>And change JDK 1.8.0_40.</div><div><br></div><div>Every passing day environment shown stable and solidifies the idea that the problem was overcome.</div><div><br></div><div>Regards!</div><div class="gmail_extra">
</div></div>