StackOverflow when running large reports #1420
-
Hello,
Environment:
Observation:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Wow, I read that you have more like tenthousand pages with your limitation of the HeapSpace. Therefore it could be that some changes of newer BIRT-versions will need a little bit more RAM. |
Beta Was this translation helpful? Give feedback.
-
Probably your report was right below some memory limit with BIRT 4.4, and now you hit the limit. Keep in mind that for a giant cross tab, BIRT needs to keep all the layout items in memory. Note that if your data source is an SQL database, you could use pure SQL with grouping and analytic functions for the heavy lifting,
You can then use a simple table item instead of a cross tab to display the results. Then in the layout you display these aggregates in the group header line. I describe this in my answer at https://stackoverflow.com/questions/72831123/reporting-with-sub-tables |
Beta Was this translation helpful? Give feedback.
-
I understand, that's what I imagined regarding loading into memory, thanks for the help @hvbtup and @speckyspooky. |
Beta Was this translation helpful? Give feedback.
Probably your report was right below some memory limit with BIRT 4.4, and now you hit the limit.
It is perfectly normal that a new release of a software needs more (or less) memory than before.
For example, a newer release may have more properties for each item than the old release.
But as long as the new release doesn't need a lot more memory, there's hardly any reason to investigate the reasons further.
Keep in mind that for a giant cross tab, BIRT needs to keep all the layout items in memory.
You should perhaps re-think the choice of your report design.
Note that if your data source is an SQL database, you could use pure SQL with grouping and analytic functions for the heavy lifting,
r…