Giving Apache Tomcat Enough Memory

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. When running on a 64 bit machine, I recommend using this to give it more than it will ever need: "-Xmx2500m -Xms256m -XX:PermSize=700m -XX:MaxPermSize=2024m". If 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"