Thursday, September 5, 2013

Java Increase Memeory for Tomcat

On windows: (catalina.bat)
set CATALINA_OPTS/JAVA_OPTS "-Djava.awt.headless=true -Dfile.encoding=UTF-8 
-server -Xms1536m -Xmx1536m
-XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m 

-XX:MaxPermSize=256m -XX:+DisableExplicitGC"

On linux: create setenv.sh in tomcat/bin folder with the following content
export CATALINA_OPTS/JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 
-server -Xms1536m -Xmx1536m
-XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m 
-XX:MaxPermSize=256m -XX:+DisableExplicitGC"

Related Posts:

  • Facebook Graph API & OAuth 2.0 & Flash Facebook Graph API & OAuth 2.0 & Flash (update) As previously mentioned, facebook released a new Graph API. It is based on OAuth 2.0 protocol (old authorization token also works). While it is fre… Read More
  • SVG Transform TranslateTranslate The translation is an elementary displacement transformation. Syntax: translate(tx, ty) tx x-coordinate of displacement ty y-coordinate of displacement Here we apply the translate transformation to the screw gro… Read More
  • Flex - GraphAPI Facebookhttp://code.google.com/p/facebook-actionscript-api Graph Explorer: https://developers.facebook.com/tools/explorer/ - Get list friends: 'me/friends?fields=work' https://graph.facebook.com/FriendID?fields=current_location … Read More
  • SAP - ERP Solution SAP Modules SAP ERP (SAP Enterprise Ressource Planning) SAP BI (SAP Business Intelligence) SAP CRM (SAP Customer Relationship Management) ABAP Programming SAP ERP Customizing SAP ByD (SAP Business ByDesign) … Read More
  • Java - Access restriction rt.jarGo to the Build Path settings in the project properties. Remove the JRE System Library Add it back; Select "Add Library" and select the JRE System Library Source: http://stackoverflow.com/questions/860187/access-restriction… Read More

0 comments:

Post a Comment