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-- 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( [:1.6.0_27]
	at java.lang.Throwable.printStackTrace( [:1.6.0_27]
	at java.lang.Throwable.printStackTrace( [:1.6.0_27]
	at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopException(
	at org.eclipse.ui.internal.ExceptionHandler.handleException(
	at org.eclipse.ui.internal.Workbench.runEventLoop(
	at org.eclipse.ui.internal.Workbench.runUI(
	at org.eclipse.ui.internal.Workbench.access$5(
	at org.eclipse.ui.internal.Workbench$
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
	at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(
	at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(
	at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$
	at [:1.6.0_27]
Previous Topic:Underlined text in a Label
Next Topic:Help for RAP app deployed in JBoss AS 7?
Goto Forum:

Current Time: Thu Sep 28 09:15:23 GMT 2023

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

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

Back to the top