struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forsberg, Mike" <mike.forsb...@amd.com>
Subject OOM Error (Java heap space) from 1800+ form elements, am I doing something wrong?
Date Fri, 18 May 2007 19:06:28 GMT
A form of approximately 1800 form elements is causing
"java.lang.OutOfMemoryError: Java heap space".  When 1000 form elements
are used, no such error.

The environment:
- JBoss 4.0.5
- Struts 1.1
- A jsp page using struts <html:form> tags to start and end the form
block.  Then inside the form, xslt is used to parse a 300 element xml
document into 6 input tags per element.

What seems to be happening, the reset method for the form bean is
called. Then before any set methods are called, the OOME is thrown.

Any help would be appreciated.

Mike Forsberg
Software Engineer II
APM - APC
T 512.602.0220




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message