Integrate birt into rap,throw OutOfMemoryError [message #828282] |
Sat, 24 March 2012 14:24 |
tony jiang 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("h://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
|
|
|
Powered by
FUDForum. Page generated in 0.03561 seconds