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.
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"
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.