3.15How to setup the tomcat server
3.15How to setup the tomcat server
3.15.1Application server set up
3.15.2Memory set up
To set up the memory of the tomcat server you open the overview (see Figure 1) of the server (“open” on right click or double click). Then you select "Open launch configuration".

Figure 1 : Tomcat v5.5 server – Overview
A dialog box is displayed (see Figure 2). You add for example “-Xmx1024 -Xms1024” to define your memory setup (default value: 256/256).

Figure 2 : Tomcat v5.5 server – Edit configuration
You can also:
- set up the max Perm Size : “-XX:MaxPermSize=256M”
- allow the JVM to perform unloading and cleaning of objects : “XX:+CMSClassUnloadingEnabled”