I am looking for a way to change the default JVM memory settings on OS X, not for a specific application.
And, yes I know that each application can override this.
Currently running Java 1.6 on OS X 10.8
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
Three options for configuring JVM's Heap:
II) Increase it in Tomcat: Follow these instructions= https://community.microstrategy.com/s/article/How-to-increase-the-Java-Heap-size-in-Tomcat-Application-Server
To increase the Java heap size in Tomcat, follow the instructions below:
1) Go to /bin and create a file named http://setenv.sh for Linux systems or setenv.bat for Windows.
2) Inside the setenv file, use the following format to set the heap size using the following parameters: Linux: export CATALINA_OPTS="-Xms4096M -Xmx4096M"
III) Increase it in the GUI (Intellij or Eclipse).