Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In the menus, go to "Run" -> "Run Configurations..." Select the Apache Tomcat server you created. Switch to the "Arguments" tab. Under "VM Arguments" add in some text to increase the memory. I use When running on a 64 bit machine, I recommend using this to give it more than it will ever need even though I have many webapps: "-Xmx2500m -Xms256m -XX:PermSize=700m -XX:MaxPermSize=2024m". If you run this and the JVM complains, you might need to change it to that doesn't work (the JVM may complain that it can't allocate the memory), especially if you're using a 32 bit JVM, change it to this instead: "-Xmx1400m -Xms256m -XX:PermSize=150m -XX:MaxPermSize=200m"