Optimizing Apache Tomcat for Java Application

If u user Alfresco and the other is SpagoBI there is always default setting to run java apps by apache tomcat. You can optimize and set memori parameter just edit file setclasspath.sh inside folder bin in tomcat folder and than add this line after JAVA_ENDORSED_DIRS="$CATALINA_HOME"/endorsed

export JAVA_OPTS="$JAVA_OPTS -Xms128m -Xmx716m -XX:PermSize=32m -XX:MaxPermSize=1024m -Xss2m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled"

Then restart your tomcat to make change.
Share on Google Plus

About Rolly Maulana Awangga

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.


  1. Beyond upsetting some developers, Apple permitting apps to run ads in different apps' listings has already led to the corporate dealing with accusations of anticompetitive behavior. In a tweet final week, legal expert Florian Mueller argued the ads are "another means of accelerating the efficient app tax fee, forcing developers to purchase ads on their own app pages find a way to} avoid that others steer clients away from there." "Now my app's product page reveals playing ads, which I'm really not OK with," tweeted Arment. We can customize every report - free of charge bet365 - together with buying stand-alone sections or country-level stories, nicely as|in addition to} offer reasonably priced discounts for start-ups & universities.