excel file size issue generated from jasperreports


I am using jasperreports for genereating the excel files.

All things are going well and files are generated properly.

bu main issue is arising with the file sizes that are generated.

File size is almost 35 MB, but when we copy the same data in another file then file size is almost 8 mb.

I tried JExcelAPi, POI, Aspose but result is same.

Please help to solve this problem.

akhil.jain's picture
Joined: Sep 4 2013 - 9:30pm
Last seen: 6 years 11 months ago

1 Answer:



I am not sure about this but i think when you export it with xls then it may gives 35 mb.

Try to export with xlsx so may be it reduces file size.

As I am not sure  this please let me know about your solution.



ajinkya_c's picture
Joined: Aug 29 2012 - 6:13am
Last seen: 3 years 4 months ago

thanks for the reply Ajinkya,
but i try xlsx format also.
problem is still there..

akhil.jain - 6 years 11 months ago