hi,
how to increase the memory size of tomcat container. I have 512MB ram. sometimes while loading web application, i get an out of memory error. How do i inform tomcat about this.
Regards
sundar
-
Increasing the memory size of tomcat (2 messages)
- Posted by: sundar varadarajan
- Posted on: November 06 2003 01:01 EST
Threaded Messages (2)
- RE: The message that you are commenting on: by Valery Silaev on November 06 2003 05:04 EST
- NetBeans - Increase Tomcat memory by Tatiana Gonzaga on August 11 2004 17:42 EDT
-
RE: The message that you are commenting on:[ Go to top ]
- Posted by: Valery Silaev
- Posted on: November 06 2003 05:04 EST
- in response to sundar varadarajan
For Sun JDK you can play with Xmx / Xmx options (run java -X to see what they mean). For example, you can alter command line in your tomcat startup script to start with smth. like java -Xms128Mb -Xmx256M ... This means "pre-alocate 128Mb initially and allow to grow up to 256M"
VS -
NetBeans - Increase Tomcat memory[ Go to top ]
- Posted by: Tatiana Gonzaga
- Posted on: August 11 2004 17:42 EDT
- in response to Valery Silaev
How can I increase my tomcat memory from netbeans? Is that even possible?
NetBeans Help says to add the parameters to this file \netbeans\bin\ide.cfg, so I added this line (-Xms128Mb -Xmx256M) but it didn´t work.
Thanks
Tati.