Hi All,
I have deployed my report server on JBOSS EAP 6.2. I used xml datasource as my data file and genarate xls. My datafile contains 25MB of data. When I call the web service of my report server it tooks more than 4 hours to genarate the xls report. This report has 5660 rows only. When I debug the code the program is wating at the fill report method.
JasperPrint _print = JasperFillManager.fillReport(jasperReport, reportParams, datasource);
I have incread the JVM memory in JBOSS, but still I'm facing the problem. Also I have used virtualizer. But didn't solve the problem.
Could any one point some clue for me to slove the above problem. Below I have put the genarate xls method which I'm using.
Thanks !
Manula Thantriwatte
6 Answers:
If you only have 25MB of data, do you really need to use virtualizer? You're also using xml as your datasource - xml are very slow. I've found csv datasource to be faster.
http://community.jaspersoft.com/questions/913731/time-process-500000-row...
Hi Hozawa,
Thanks for your point. In the movement I'm unable to changed the datasource. Because our system is tied with XML. I used virtualizer because that 25MB XML filed tooks more than 4 hours to process and generate the xls report. When I used that XML in iReport and able to generate the xls. But in that case I have to increase the Java heap memory.
Is there any other way to achieve this ?
Thanks !
Manula Thantriwatte
Hi Hozawa,
JasperPrint _print = JasperFillManager.fillReport(jasperReport, reportParams, datasource) code line taking the most of the time. Without the virtualizer alsot above line tooks the time. I have incread the JVM memory as well. But still have the problem.
Thanks !