Tomcat Speed Tweaks

0

From SAS Tech Support ... change the StartServletContainer.bat (located in sasconfigfolder/Lev1/web) setting for variable "CATALINA_OPTS=", make sure that the inserted line has no carriage returns.

If you will have 10 or fewer concurrent users and are using a Sun-based JDK whose revision level is 1.4.2 or later, use these settings:

-server -Xms512m -Xmx512m -XX:NewSize=64m -XX:MaxNewSize=64m
-XX:MaxPermSize=128m -Xss128k -XX:-UseTLAB -XX:+UseConcMarkSweepGC
-XX:+DisableExplicitGC -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.awt.headless=true

If you will have more than 10 concurrent users and are using a Sun-based JDK
whose revision level is 1.4.2 or later, use these settings:

-server -Xms1280m -Xmx1280m -XX:NewSize=160m -XX:MaxNewSize=160m
-XX:MaxPermSize=128m -Xss128k -XX:-UseTLAB -XX:+UseConcMarkSweepGC
-XX:+DisableExplicitGC -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.awt.headless=true

Share

About Author

Angela Hall

Senior Technical Architect

Angela offers tips on using the SAS Business Intelligence solutions. She manages a team of SAS Fraud Framework implementers within the SAS Solutions On-Demand organization. Angela also has co-written two books, 'Building BI using SAS, Content Development Examples' & 'The 50 Keys to Learning SAS Stored Processes'.

Comments are closed.

Back to Top