July 6, 2007

Memory allocation in Tomcat Application Server

Longtime back I was told, if one needs to increase the memory pool size that can be occupied by the Tomcat app server, all we need to do is to tweak the catalina.bat file in the bin.

Just add -Xms A -Xmx A (where A denoted the number of Megabytes), in the catalina.bat file, at the end of line, where the java options are listed.

However from ver 5, its a little bit different and easy. All one needs to do is ...
Click on configure and then ....
Now specify the amount of memory allocation in the Maximum Memory Pool option. This will enable Tomcat to use more memory.

No comments:

Post a Comment

This is how we learn. Say it right away ...