Jump to content
  • high memory demand prevents reporting huge data source

    Assigned User teodord
    CategoryFeature request
    ResolutionNo Change Required
    JasperReports has relatively low limit to print huge reports, that is about 300 mbytes for in-memory JRDataSource object. It appears JasperReports allocates too much additional memory to fill report. Running process takes over 1300 mbytes in memory that is around a limit on 32 bit system. Larger reports fail with OutOfMemoryError.

    User Feedback

    Recommended Comments



    Are you using a virtualizer when you fill your report?

    JR has support for large reports using a JRVirtualizer implementation that avoids keeping the whole generated document in memory.

    Check the /demo/samples/virtualizer sample provided with the JR project source package. Note that there are several virtualizer implementations from which you can pick.


    I hope this helps.



    Link to comment
    Share on other sites

  • Create New...