Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Help for RAP app deployed in JBoss AS 7?(java.lang.OutOfMemoryError: PermGen space)
Help for RAP app deployed in JBoss AS 7? [message #763102] Fri, 09 December 2011 07:13
David Song is currently offline David SongFriend
Messages: 217
Registered: April 2011
Senior Member
Hi all,
I deploy my rap app in Jboss AS 7 and get a error when I test it with the jfreechart 10.14. but no error when I run in Eclipse RAP development environment。and the jvm params is as below for jboss as 7:

set "JAVA_OPTS=-server -Xms800m -Xmx800m -XX:PermSize=64M -XX:MaxNewSize=256m -XX:MaxPermSize=128m -Djava.awt.headless=true"

set "JAVA_OPTS=%JAVA_OPTS% -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled"


and I get the error info just like below:

14:46:15,712 ERROR [stderr] (UIThread [ChCtePQN+L5XumCwkQgiX2rR]) Error while logging event loop exception:

14:46:15,712 ERROR [stderr] (UIThread [ChCtePQN+L5XumCwkQgiX2rR]) java.lang.OutOfMemoryError: PermGen space

14:46:16,695 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/].[equinoxbridgeservlet]] (http--0.0.0.0-8080-1) Servlet.service() for servlet equinoxbridgeservlet threw exception: java.lang.OutOfMemoryError: PermGen space
	at java.lang.Throwable.getStackTraceElement(Native Method) [:1.6.0_27]
	at java.lang.Throwable.getOurStackTrace(Throwable.java:591) [:1.6.0_27]
	at java.lang.Throwable.printStackTrace(Throwable.java:462) [:1.6.0_27]
	at java.lang.Throwable.printStackTrace(Throwable.java:451) [:1.6.0_27]
	at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopException(WorkbenchAdvisor.java:335)
	at org.eclipse.ui.internal.ExceptionHandler.handleException(ExceptionHandler.java:66)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2737)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2694)
	at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:2530)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:702)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:685)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:157)
	at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(EntryPointManager.java:73)
	at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:211)
	at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:88)
	at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
	at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.java:102)
Previous Topic:Underlined text in a Label
Next Topic:Help for RAP app deployed in JBoss AS 7?
Goto Forum:
  


Current Time: Sun Oct 24 20:17:42 GMT 2021

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

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

Back to the top