Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » OUT Of Memory Error(Java Heap Spae Problem)
OUT Of Memory Error [message #1234208] Tue, 21 January 2014 13:05 Go to next message
Krishna Chaitanya is currently offline Krishna ChaitanyaFriend
Messages: 1
Registered: January 2014
Junior Member
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 1628 times)

[Updated on: Wed, 22 January 2014 10:28]

Report message to a moderator

Re: OUT Of Memory Error [message #1235515 is a reply to message #1234208] Fri, 24 January 2014 15:04 Go to previous messageGo to next message
osuwariboy Mising name is currently offline osuwariboy Mising nameFriend
Messages: 24
Registered: December 2010
Junior Member
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 06:20 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

What is your BIRT version and what are you setting the heap space to?

Michael

Developer Evangelist, Silanis
Re: OUT Of Memory Error [message #1241102 is a reply to message #1240848] Fri, 07 February 2014 13:44 Go to previous messageGo to next message
osuwariboy Mising name is currently offline osuwariboy Mising nameFriend
Messages: 24
Registered: December 2010
Junior Member
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 19:56 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

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.

Michael

Developer Evangelist, Silanis
Re: OUT Of Memory Error [message #1830266 is a reply to message #1241313] Wed, 22 July 2020 12:13 Go to previous messageGo to next message
Ayyal Samy is currently offline Ayyal SamyFriend
Messages: 1
Registered: July 2020
Junior Member
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 20:03 Go to previous message
Thomas Gutmann is currently offline Thomas GutmannFriend
Messages: 21
Registered: April 2020
Junior Member
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: Fri Apr 26 07:23:37 GMT 2024

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

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

Back to the top