Hi there,
I am printing around 5000 records (each record in a separate page) so 5000 pages. When I print these many pages I get java.lang.outOfMemory error and the report could not continue.
I think the jasper is trying to load all the pages at once and ends up with the error. In filemaker the records are loaded page by page. I am sure that there must be some settings that we can do to tell the jasper to load the records batch by batch.
Please help!
What is your display type for the Report? You use the “view” option to get the viewer?
Since the report is run Serverside and then send back to the Client, the entire report needs to be generated Serverside first, before sending it to the Client.
Where does your Out of Memory occur? ServerSide of clientside?
You know you can increase the Memory that Java can use?
Paul
I use the “view” option.
Out of Memory occurs in the client side only.
servoy.maxClientHeap: in the servoy admin page where I have to increase the memory right?
Currently it is set to 256. But you think this solution is good? Can’t the report load the records page by page?
Please help!
If the Out of Memory occurs Client side, increasing the available memory on the Client is the way to go.
If you want us to investigate if the report can be loaded page by page, please create a Feature Request for that in our support system.
Paul
Ok. First met me increase the memory limit.
Then let me see if that can help.
Thanks