Skip to main content



      Home
Home » Archived » BIRT » OUT Of Memory Error(Java Heap Spae Problem)
OUT Of Memory Error [message #1234208] Tue, 21 January 2014 08:05 Go to next message
Eclipse UserFriend
Hi,

I'm new to Birt.

I'm using table to display records from a scripted data set.

My report is working fine for small dataset with records up to 20000. But when My Dataset increases 100,000 records "out of memory error" exception is coming.

I've set the JVM Heap space parameter of my source class to -mx1200m which worked for my source class Smile.
But when the source class is used for scripted data source in Birt report, exception is coming.
Based on the research done on web i tried to set Tomcat JVM heap space to -Xms520m -Xmx1024m and -mx1200m also, unfortunately it didn't work.

This is the exception I'm getting
index.php/fa/17301/0/

Please Help me in in solving the issue.Smile

Thanks in advance. Thumbs Up
  • Attachment: image_kD.png
    (Size: 25.92KB, Downloaded 1806 times)

[Updated on: Wed, 22 January 2014 05:28] by Moderator

Re: OUT Of Memory Error [message #1235515 is a reply to message #1234208] Fri, 24 January 2014 10:04 Go to previous messageGo to next message
Eclipse UserFriend
I'm having similar problems with a BIRT report running through JavaBridge. When it reaches about 10000 lines, I run into "Out of memory error". Also, performance deteriorates really quickly when you start to reach high numbers like this... especially considering the query itself takes about 1 second to execute.

I tried the same trick, which is to set the JVM heapspace to a bigger value, but I still get the error on a consistant basis.

Anyone has a way of solving that problem?
Re: OUT Of Memory Error [message #1240848 is a reply to message #1235515] Fri, 07 February 2014 01:20 Go to previous messageGo to next message
Eclipse UserFriend
What is your BIRT version and what are you setting the heap space to?
Re: OUT Of Memory Error [message #1241102 is a reply to message #1240848] Fri, 07 February 2014 08:44 Go to previous messageGo to next message
Eclipse UserFriend
In my case, I used Eclipse Juno and the same settings as Krishna which are:

-Xms520m -Xmx1024m and -mx1200m

I'm also not entirely sure if it's linked to this, but I discovered some strange performance drop with arrays which I inquire about here:

http://www.eclipse.org/forums/index.php/t/645164/

Re: OUT Of Memory Error [message #1241313 is a reply to message #1241102] Fri, 07 February 2014 14:56 Go to previous messageGo to next message
Eclipse UserFriend
I responded in the other one with a suggestion on how you can recreate a large dataSet to try to reproduce the issue using "sample data", just not the sample database.
Re: OUT Of Memory Error [message #1830266 is a reply to message #1241313] Wed, 22 July 2020 08:13 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

How to resolve this OUT Of Memory java exception Error in Birt report

Version: 3.6.1
Re: OUT Of Memory Error [message #1831108 is a reply to message #1830266] Tue, 11 August 2020 16:03 Go to previous message
Eclipse UserFriend
Hello Ayyal,

have you tried to set the -Xmx Java configuration on your eclipse environment or on your application server.
It should solve the issue with the memory leak.

In best cases -Xms and -Xmx have the same values because so you avoid internal time switch delays.

Kind regards
Previous Topic:count table row details in a group
Next Topic:Page Break
Goto Forum:
  


Current Time: Sat Jul 19 18:09:12 EDT 2025

Powered by FUDForum. Page generated in 0.24045 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top