Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » out of memory error(while deploying an application with Birt)
out of memory error [message #713649] Mon, 08 August 2011 18:11 Go to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 11
Registered: August 2011
Junior Member

That is my web page. I get a out of memory java heap space error when I choose the MSWord option to display the report in word format.
Any help would be appreciated
  • Attachment: BirtTest.jsf
    (Size: 2.66KB, Downloaded 306 times)
Re: out of memory error [message #713673 is a reply to message #713649] Mon, 08 August 2011 18:51 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Do you have this jvm parameter set in your app server?
-XX:MaxPermSize=256M

Jason

On 8/8/2011 2:11 PM, v.kris21 wrote:
> That is my web page. I get a out of memory java heap space error when I choose the MSWord option to display the report in word format.
> Any help would be appreciated
Re: out of memory error [message #713721 is a reply to message #713673] Mon, 08 August 2011 21:39 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 11
Registered: August 2011
Junior Member
How do I do this?
Re: out of memory error [message #713930 is a reply to message #713673] Tue, 09 August 2011 12:18 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 11
Registered: August 2011
Junior Member
Also IE crashed upon loading the page.

I dont have the word and pdf versions, only html in this page

  • Attachment: BirtTest.jsf
    (Size: 2.67KB, Downloaded 261 times)
Re: out of memory error [message #713960 is a reply to message #713930] Tue, 09 August 2011 13:42 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

What appserver are you using? I use tomcat and just set it in my
catalina.bat

set JAVA_OPTS=%JAVA_OPTS% -XX:MaxPermSize=256m

Jason

On 8/9/2011 8:18 AM, v.kris21 wrote:
> Also IE crashed upon loading the page.
>
> I dont have the word and pdf versions, only html in this page
>
>
Re: out of memory error [message #713983 is a reply to message #713960] Tue, 09 August 2011 14:16 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 11
Registered: August 2011
Junior Member
I increased the memory in o BEA_HOME\user_projects\domains\DOMAIN_NAME. startWebLogic.cmd. It looks like if I set it to:

set MEM_ARGS=-Xms1280m -Xmx1280m -XX:PermSize=512M -XX:MaxPermSize=1024M
with windows XP 32 bits 4g ram. it still does not start up the server with those params. The MaxPermSize goes up to 512M/

IE is still not compatible with Birt application. It hangs my whole system. I had to reboot atleast 4 times.
Re: out of memory error [message #714001 is a reply to message #713983] Tue, 09 August 2011 14:49 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

A maxpermsize of 256 is generally enough. What version of BIRT are you
using. Can you set the log level and see if anything is in the log?

Jason

On 8/9/2011 10:16 AM, v.kris21 wrote:
> I increased the memory in o BEA_HOME\user_projects\domains\DOMAIN_NAME.
> startWebLogic.cmd. It looks like if I set it to:
>
> set MEM_ARGS=-Xms1280m -Xmx1280m -XX:PermSize=512M -XX:MaxPermSize=1024M
> with windows XP 32 bits 4g ram. it still does not start up the server
> with those params. The MaxPermSize goes up to 512M/
>
> IE is still not compatible with Birt application. It hangs my whole
> system. I had to reboot atleast 4 times.
Re: out of memory error [message #714004 is a reply to message #714001] Tue, 09 August 2011 15:02 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 11
Registered: August 2011
Junior Member
the latest version. I got the latest download. Nothing is in the log
Re: out of memory error [message #714112 is a reply to message #714004] Tue, 09 August 2011 20:08 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Are you deploying as described here:
http://wiki.eclipse.org/BirtPOJO_Viewer_WebLogic_Deployment

Jason


On 8/9/2011 11:02 AM, v.kris21 wrote:
> the latest version. I got the latest download. Nothing is in the log
Re: out of memory error [message #714116 is a reply to message #714112] Tue, 09 August 2011 20:33 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 11
Registered: August 2011
Junior Member
i am deploying to the integrated weblogic server. All I have to do is right click the jsf page and select run
Re: out of memory error [message #714122 is a reply to message #714116] Tue, 09 August 2011 20:36 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you open a bugzilla entry for this? Make sure to add the jsf page
and the weblogic version you are using. Post the number back here when
you have done that.

Jason

On 8/9/2011 4:33 PM, v.kris21 wrote:
> i am deploying to the integrated weblogic server. All I have to do is
> right click the jsf page and select run
Re: out of memory error [message #813383 is a reply to message #714122] Mon, 05 March 2012 07:39 Go to previous messageGo to next message
sam va is currently offline sam vaFriend
Messages: 121
Registered: July 2011
Senior Member
the following jvm options are ONLY for SUN jvm

-XX:permsize=512M -XX:Maxpermsize=1024M

Did anyone figure out the jvm options for JRockit ?

Thanks
Re: out of memory error [message #813955 is a reply to message #813383] Mon, 05 March 2012 21:57 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Sam,

I do not think JRockit uses PermGen space.

http://javaeesupportpatterns.blogspot.com/2012/02/java-heap-space-jrockit-vm.html

Jason


On 3/5/2012 2:39 AM, sam va wrote:
> the following jvm options are ONLY for SUN jvm
>
> -XX:permsize=512M -XX:Maxpermsize=1024M
>
> Did anyone figure out the jvm options for JRockit ?
>
> Thanks
Re: out of memory error [message #826362 is a reply to message #813955] Thu, 22 March 2012 01:09 Go to previous messageGo to next message
sam va is currently offline sam vaFriend
Messages: 121
Registered: July 2011
Senior Member
we are getting OutOfMemoryException (getNewTla) in weblogic/jrockit.

Any ideas how to prevent this?

Thanks

[Updated on: Thu, 22 March 2012 01:09]

Report message to a moderator

Re: out of memory error [message #826869 is a reply to message #826362] Thu, 22 March 2012 15:49 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you post the stack trace?

Jason

On 3/21/2012 9:09 PM, sam va wrote:
> we are getting OutOfMemoryException (getNewTla) in weblogic/jrockit.
>
> Any ideas how to prevent this?
>
> Thanks
> Swamy
Re: out of memory error [message #829407 is a reply to message #713649] Mon, 26 March 2012 08:39 Go to previous messageGo to next message
sam va is currently offline sam vaFriend
Messages: 121
Registered: July 2011
Senior Member
2012-03-25 23:21:20,489, SEVERE : Error generating the pdf java.lang.OutOfMemory
Error: getNewTla
        at org.eclipse.birt.data.engine.impl.ResultIterator.getValue(ResultIterator.java:702)
        at org.eclipse.birt.report.engine.data.dte.QueryResultSet.getValue(QueryResultSet.java:403)
        at org.eclipse.birt.report.engine.executor.DataItemExecutor.execute(DataItemExecutor.java:97)
        at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
        at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
        at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.traverse(HTMLAbstractLM.java:441)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.traverse(HTMLAbstractLM.java:442)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.traverse(HTMLAbstractLM.java:442)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.traverse(HTMLAbstractLM.java:442)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.traverse(HTMLAbstractLM.java:442)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.handleVisibility(HTMLAbstractLM.java:374)
        at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:123)
        at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
        at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
        at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
        at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:180)
        at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)


we use weblogic/jrockit, and have the following jvm options

-XXtlaSize:min=128k,preferred=512k,wasteLimit=128k -Xns:128m -Xss128k

[Updated on: Mon, 26 March 2012 08:52]

Report message to a moderator

Re: out of memory error [message #829983 is a reply to message #829407] Tue, 27 March 2012 03:01 Go to previous messageGo to next message
sam va is currently offline sam vaFriend
Messages: 121
Registered: July 2011
Senior Member
Any help Jason
Re: out of memory error [message #830756 is a reply to message #829983] Wed, 28 March 2012 02:52 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you open a bugzilla entry for this.

Jason

On 3/26/2012 11:01 PM, sam va wrote:
> Any help Jason
Previous Topic:var OR dynamic data set OR??
Next Topic:Using like operator in data set filter
Goto Forum:
  


Current Time: Thu Apr 25 07:33:59 GMT 2024

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

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

Back to the top