Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Out of Memory Exception while exporting to excel using POI for Reports  RSS feed

 
Sreekar Vitta
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We have a report module in our project. This report contains around 8 columns and sometimes lakh of records. We are using the POI to export it to excel. While exporting a report with lakh of records we are getting OutOfMemory Exception. Please help us regarding this.

Thanks
Sreekar

[ March 03, 2005: Message edited by: Sreekar Vitta ]
[ March 03, 2005: Message edited by: Sreekar Vitta ]
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could start by increasing the memory available to the JVM (via the -Xmx argument).
 
kri shan
Ranch Hand
Posts: 1489
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which reporting engine used for creating the report?
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a performance question. Moving to Java in General (beginner)...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!