|Streaming records with JavaBridge [message #1235533]
||Fri, 24 January 2014 15:54
| osuwariboy Mising name
Registered: December 2010
Hi, I've been running into more and more "Out of memory" errors with my BIRT reports. As our database is growing, this thing is becoming more and more frequent and solving it requires us restarting the Tomcat service each and every time. |
Anyway, the problem, I believe is that the report is trying to load everything into memory before actually outputting anything on the screen, so I've been trying to fix that, but with no definite idea of what I'm doing, my chances of finding anything are slim to none. So far, my intuition tell me this code might be the one that needs to be modified to "stream" records instead of loading everything into a byte array.
$out = new java("java.io.ByteArrayOutputStream");
Anyone has any idea?
Thanks in advance,
Powered by FUDForum
. Page generated in 0.02377 seconds