java.lang.OutOfMemoryError: Java heap space
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   jagdeep_malik
Posted On:   Wednesday, September 26, 2007 01:41 AM

hi,
i use jxl.jar in my project with Tomcat(Server) to download records in an EXCEL sheet .As no. of records in my project are more than 2 lac ,when i click on check box to select all the records and want to download i am getting java.lang.OutOfMemoryError:Java Heap Space .i tried to improve the memory of tomcat(Web Server)but solution is upto a limited records.please tell me the solution

Thanks
Jagdeep Malik

Re: java.lang.OutOfMemoryError: Java heap space

Posted By:   Christopher_Koenigsberg  
Posted On:   Monday, October 8, 2007 08:00 PM

maybe you have to rewrite your code so you just "stream" the data to the response, so that you never have more than a bufferful in the server's memory at one time.
About | Sitemap | Contact