Get your CodeRanch badge!*
The moose likes Other Open Source Projects and the fly likes Help to resolve jsper reports memory issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Help to resolve jsper reports memory issue" Watch "Help to resolve jsper reports memory issue" New topic
Author

Help to resolve jsper reports memory issue

kiran raja
Greenhorn

Joined: May 11, 2004
Posts: 22

Hi ,

I have an requirement where my datasource contains lists of list,that is, i have created a list containing 3 lists. And each list values must be listed in 3 different sheets(there are about 9000+ records in each list). All the three sheets make use the same jrxml file. Is there a way that i can pass my datasource to JasperFillManager and it creates 3 sheets in one call.Please help.

I am presently, iterating the list and calling JasperFillManager to create 3 JasperPrint Objects. And then merging them into in one report by setting the JRExporterParameter.JASPER_PRINT_LIST parameter.This is taking a lot of memory, and in some instances goes out of memory. I need to avoid creating three jasperprint objects and the filling has to be done in one call so that i have only one jasper print object to export.

Thanks,
Kiran
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help to resolve jsper reports memory issue
 
Similar Threads
Help needed in creating jasper report
splitting up lists
How to split a list into 3 lists
from a round robin algorithm to best-fit
Sorting list