This content has been marked as final. Show 3 replies
I'm guessing that the ArrayList object is getting too big.
How many rows does the SQL query return?
You may need to rethink whether you actually need to retrieve all the rows from table TBL_ORDERS.
heap area in jvm is very less ..we have to increase the heap memory of the webserver jvm
thank you Avi and Bipin for the responce. I have installed Oracle on my RedHat Enterprise Linux 4 box and did an export of the TBL_ORDERS table from my database on Windows Vista . Am not getting this error when running my application on this machine. I get the error on when I run it on windows vista where I have also installed Oracle 10g and running tomcat.
Yes Avi the ArrayList object is actually getting to big. Its returning more than 100 000 rows. I am using displaytag to do pegination. Any guidelines on how I can increase jvm heap memory on of tomcat?