• Post Reply Bookmark Topic Watch Topic
  • New Topic

OutOfMemoryError While Writting Excel File..  RSS feed

 
Rushikesh Wagh
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am facing 1 problem.

While Writing an Excel file jxl.WorkBook, I get OutOfMemoryError

I am writting 100 records at a time to avoid unnecssary memory overhead.

Still No effect

Please help.

By the way its web based application. Server Jboss 3.2.6

Thanks
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What objects are you creating to handle a record?
What happens to these objects after the record is written?
Where is the output being written?
Where is the data coming from? If from a database, perhaps it is your handling of result sets that is causing the problem, not the writing.
What happens if you just retrieve the records but dont try to write the excel file?

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!