I tried to simulate load on a pure simple JSP page. After tens of thousands hits, it actually gives me Out.of.Memory error. Is this because I code in JSP and using Tomcat as the server? Would it be better if I code in Servlet?
Furthermore, when I went to the Task Manager, I saw that the memory used by java.exe (Tomcat) stays high for 30 minutes.
Please share with me if you have had any experience that could work around this, thanks.