Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Integrate birt into rap, throw OutOfMemoryError(Integrate birt into rap, throw OutOfMemoryError)
Integrate birt into rap, throw OutOfMemoryError [message #828283] Sat, 24 March 2012 14:27 Go to next message
tony jiang is currently offline tony jiangFriend
Messages: 2
Registered: March 2012
Junior Member
Hello everyone:

I integrate birt into rap, by the browser of rap connec url of birtviewer.
The code is:
Browser browser = new Browser(client, SWT.NONE);  
    GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1);
    browser.setLayoutData(gd);
    browser.setUrl("htt://localhost:8080/WebViewerExample/frameset?__report=ship_summ.rptdesign&__showtitle=false");       


Jboss 5.0
Birt 2.6.2
RAP 1.4.0

The program is running fine, but a few days later the system throws java.lang.OutOfMemoryError.

I print gc log, found the memory can not be gc.
[Full GC (System) [PSYoungGen: 43616K->0K(305856K)] [PSOldGen: 11094K->54547K(699072K)] 54711K->54547K(1004928K) [PSPermGen: 26857K->26857K(53760K)], 0.2705960 secs]
[Full GC (System) [PSYoungGen: 320K->0K(347520K)] [PSOldGen: 395518K->377481K(699072K)] 395838K->377481K(1046592K) [PSPermGen: 167824K->167824K(337600K)], 1.2166040 secs]
[Full GC (System) [PSYoungGen: 256K->0K(341760K)] [PSOldGen: 482076K->434933K(699072K)] 482332K->434933K(1040832K) [PSPermGen: 175945K->175945K(342720K)], 1.4539110 secs]
[Full GC (System) [PSYoungGen: 880K->0K(344192K)] [PSOldGen: 444186K->444731K(699072K)] 445066K->444731K(1043264K) [PSPermGen: 174704K->174704K(198528K)], 1.3315590 secs]
[Full GC (System) [PSYoungGen: 384K->0K(347840K)] [PSOldGen: 509592K->509753K(699072K)] 509976K->509753K(1046912K) [PSPermGen: 178789K->178789K(196992K)], 1.5445610 secs]
[Full GC (System) [PSYoungGen: 2564K->0K(339776K)] [PSOldGen: 615420K->603969K(699072K)] 617984K->603969K(1038848K) [PSPermGen: 188143K->188143K(203008K)], 1.7372610 secs]
[Full GC [PSYoungGen: 5362K->0K(336704K)] [PSOldGen: 693728K->673359K(699072K)] 699090K->673359K(1035776K) [PSPermGen: 196530K->196530K(208256K)], 1.9231630 secs]

Please help me, I will appreciate it!

[Updated on: Mon, 26 March 2012 04:54]

Report message to a moderator

Re: Integrate birt into rap, throw OutOfMemoryError [message #829190 is a reply to message #828283] Mon, 26 March 2012 01:09 Go to previous message
Chris Fairhall is currently offline Chris FairhallFriend
Messages: 221
Registered: February 2011
Senior Member
At the risk of sounding like Captian Obvious, you've got a memory leak somewhere. Take a Heap dump and find out what objects are taking up all your heap space. A good place to start is http://www.eclipse.org/mat/
Previous Topic:Could not start: .apache.httpcomponents.httpclient_4.1.3.jar
Next Topic:UI callback and session expiring
Goto Forum:
  


Current Time: Sat Apr 20 03:21:18 GMT 2024

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

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

Back to the top