I am using tomcat 7 on windows 7 SP1 with 3GB RAM. I am using some custom tag handlers to display data on a JSP page which constantly giving me heap size (out of memory) error.
I am using Netbeans 7.1 as development IDE, I tried to put -Xms256m -Xmx256m in VM option under project properties run option. I am not sure whether it is increasing heap size or not, Is there any way to find out present heap size of tomcat?
Or I need to do something else for increasing heap size? Because of no clue to find whether it is increasing heap size or not, I am not able to debug where the problem is, with low heap size or something with my code.
You can use tools like VisualVM to get some information about running VMs.