This content has been marked as final. Show 2 replies
Try using -Xmx option and increase the memory.
Upgrading to Struts-1.1 FCS will also reduce the risk of an OutOfMemory exception occurring. I ran profiling on our application when it was based on Struts-1.1 (nigthly release) and not all objects on the Form beans were released for GC as they should have.
This was fixed in Struts-1.1 FCS and the OutOfMemory exceptions have disappeared.
Another good idea is to pre-compile your JSP's while building your WAR/EAR.