Created
August 25, 2013 02:24
-
-
Save Hoedic/6331576 to your computer and use it in GitHub Desktop.
Want to support multiple (large) graphs on open trip planner with Tomcat, you have to increase the heap size at lot (and have a lot of memory...)
This file contains 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
#In the tomcat/catalina base directory (/usr/share/tomcat6/bin/ under Ubuntu), create a file setenv.sh (tomcat will automatically read it) and set the following: | |
export JAVA_OPTS='-Xmx6144M' | |
#or | |
export CATALINA_OPTS='-Xmx6144M' | |
#where 6144M is the size needed... in my case, 6GB. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment