When I send large form in struts2 the server throws a PermGen
error and don’t saves all the form data.
the form has 6 fields and a grid, the grid has 10 columns where each row of the grid is a subpojo inside an ArrayList
. The problem arises when I'm using the form and I have over 1000 rows in the grid. Upon receiving the pojo, the server starts saving the data but on the row 833, more or less, throws me a PermGen
error.
The system specs are:
What is the best way to solve this problem?
Increasing the PermGen solves my problem.