Created
March 8, 2013 00:41
-
-
Save maleficarum/5113273 to your computer and use it in GitHub Desktop.
Set dinamically tomcat memory ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Handy for linux virtual machines; Use 75% of your total system memory for Tomcat. | |
| #Put at start of "{tomcat}/bin/startup.sh" | |
| export CATALINA_OPTS="-Xmx`cat /proc/meminfo | grep MemTotal | awk '{ print $2*0.75 } '`k" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment