PLEASE HELP?? java.lang.OutOfMemoryError: PermGen space

I've been searching the net for days and have tried changing the eclipse.ini per everyone's instructions...but still keep crashing after small changes.
java.lang.OutOfMemoryError: PermGen space
-startup plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222 -product org.eclipse.epp.package.jee.product --launcher.defaultAction openFile -showsplash org.eclipse.platform -vm C:Program Files/Java/jre6/bin/clientjvm.dll -vmargs -Dosgi.requiredJavaVersion=1.6 -Declipse.p2.unsignedPolicy=allow -Xmn256m -Xms1024m -Xmx768m -Xss4m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:CompileThreshold=5 -XX:MaxGCPauseMillis=10 -XX:MaxHeapFreeRatio=70 -XX:+CMSIncrementalPacing -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:+UseFastAccessorMethods -Dcom.sun.management.jmxremote
here's the .log
!SESSION 2011-11-15 14:27:03.125 -----------------------------------------------
eclipse.buildId=I20100608-0911
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -v clean
Command-line arguments:  -os win32 -ws win32 -arch x86 -v clean
!ENTRY org.eclipse.ui 2 0 2011-11-15 14:27:07.390
!MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
!SUBENTRY 1 org.eclipse.ui 2 0 2011-11-15 14:27:07.390
!MESSAGE Commands should really have a category: plug-in='com.qnx.flashbuilder.multiplatform.qnx.ui', id='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.OpenInfoCenter', categoryId='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.category.help'
!ENTRY org.eclipse.jface 2 0 2011-11-15 14:27:15.218
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2011-11-15 14:27:15.218
!MESSAGE A conflict occurred for CTRL+G:
Binding(CTRL+G,
ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.search.declarations.in.wor kspace,Declaration in Workspace,
  Search for declarations of the selected element in the workspace,
  Category(org.eclipse.search.ui.category.search,Search,Search command category,true),
  ,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(CTRL+G,
ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.declarations.in.wor kspace,Find All Declarations In Workspace,
  Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
  LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllDeclarationsAction@6bc947)),
  ,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
com.adobe.flexide.editorcore.flexEditorScope,,,system)
Binding(CTRL+G,
ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.declarations.in.wor kspace,Find All Declarations In Workspace,
  Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
  LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllDeclarationsAction@6bc947)),
  ,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
com.adobe.flexbuilder.as.editor.context.packageexplorer,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2011-11-15 14:27:15.218
!MESSAGE A conflict occurred for CTRL+SHIFT+G:
Binding(CTRL+SHIFT+G,
ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.search.references.in.works pace,References in Workspace,
  Search for references to the selected element in the workspace,
  Category(org.eclipse.search.ui.category.search,Search,Search command category,true),
  ,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(CTRL+SHIFT+G,
ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.references.in.works pace,Find All References In Workspace,
  Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
  LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllReferencesAction@6b5488)),
  ,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
com.adobe.flexide.editorcore.flexEditorScope,,,system)
Binding(CTRL+SHIFT+G,
ParameterizedCommand(Command(com.adobe.flexbuilder.as.editor.find.all.references.in.works pace,Find All References In Workspace,
  Category(com.adobe.flexbuilder.editorcore.navigation.category,Navigation,null,true),
  LegacyHandlerWrapper(ActionHandler(action=com.adobe.flexbuilder.as.editor.ui.actions.FindAllReferencesAction@6b5488)),
  ,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
com.adobe.flexbuilder.as.editor.context.packageexplorer,,,system)
!ENTRY org.eclipse.core.jobs 4 2 2011-11-15 14:28:01.375
!MESSAGE An internal error occurred during: "Building workspace".
!STACK 0
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.j ava:188)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:58 0)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java: 550)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager. java:481)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(Class pathManager.java:469)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:110)
at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
at com.adobe.flexbuilder.project.compiler.internal.BuilderUtils.copyDependents(BuilderUtils. java:483)
at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuild er.java:393)
at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncremen talBuilder.java:187)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)

Also, describe your project set up. Sometimes these things can happen if your workspace is not configured correctly (like two library projects that import each other for example).
And I assume you checked to make sure you aren't actually out of RAM?
*edit*
Also, you mention editing eclipse.ini, but I think you actually need FlashBuilder.ini in your FB install directory. Mine looks like this:
-nl
en_US
-startup
eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
--launcher.defaultAction
openFile
-vmargs
-Xms256m
-Xmx512m
-XX:MaxPermSize=256m
-XX:PermSize=64m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=eclipse/dropins
-Declipse.application=com.adobe.flexbuilder.standalone.FlashBuilderApplication
If you are doing something that's particularly memory intesnive, try changing:
-Xmx1024m
-XX:MaxPermSize=512m

Similar Messages

  • Java.lang.OutOfMemoryError: PermGen space - help pl

    Hello
    I am getting this error when i run the servlet...
    2005-05-16 21:10:11 StandardWrapperValve[server_flt]: Servlet.service() for servlet server_flt threw exception
    java.lang.OutOfMemoryError: PermGen space
    What causes this exception and how do you get over this? Do i need to make changes in my code?
    Pl help
    rgds
    csb

    Hello YoGee
    Thank you for the info.
    In fact its an applet-servlet comm appl that i am
    running. The servlet creates the object and is send
    to the applet where it is displayed. That is an instance of a class not the class itself.
    The applet then
    creates an object and is sent back to servlet for
    updating the database. So its objects being sent back
    and forth. Do i need to give the command in the
    prompt? Can you be a bit more specific?
    Again if the object created at the applet is set to
    null ..ie.
    sub s = new sub(id,add,zip) ;
    s = null;
    Is object s a candidate for garbage collection?This has nothing to do with the original question.
    If there are no active references then it is available for collection.
    What i mean is, if i no longer want the object s , is
    there any way to completely(explicitly) remove it
    from the memory?No.

  • Java.lang.OutOfMemoryError: PermGen space error while creat weblogic domain

    Hi,
    OBIEE 11g installing in Linux server now. domain creation is in progress for about an hour and in log I can see below error.
    Creating a new AdminServer Object ...
    AdminServer port is 7001
    Starting the domain ...
    java.lang.OutOfMemoryError: PermGen space
    java.lang.OutOfMemoryError: PermGen space
    java.lang.OutOfMemoryError: PermGen space
    domain creation is still running and looks like it is struck to start domain no idea how to solve the issue. waiting to see whether domain creation successful.
    I was searching on web and found below solution but no idea how to do it in Linux server. Please provide detail instructions to do it.
    * java.lang.OutOfMemoryError: PermGen space
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.getConstructor(Unknown Source)
    Solution: Increase the max permgen space -XX:MaxPermSize=256m
    There can be a leak in the permgen objects. If tuning parameters do not resolve the issue, we need to use the memory leak detector tools and find out which instances in the permgen space are not getting cleared.
    Refer: http://weblogic-wonders.com/weblogic/2010/12/30/different-out-of-memory-issues/
    Appreciate for your help.
    Thanks
    Jay.

    Hi,
    The script that configures the domain $DOMAIN_HOME/bin/setDomainEnv.sh... it should detect you are using JDK from Sun (JAVA_VENDOR="Sun") and add -XX:MaxPermSize=512m automatically...
    Simple solution, use JRockit... This problem only occurs with Sun JDK...
    Alternatively, add manually -XX:MaxPermSize=512m to the last JAVA_PROPERTIES in setDomainEnv.sh then you will be sure it is there...
    Cheers,
    Vlad

  • OSB Deployment Scripts java.lang.OutOfMemoryError: PermGen space issue

    Hi All
    I get this error at random intervals and to resolve this issue, I have to bounce my machine. Please help (Below is the error in .log file created in .metadata folder)
    !SESSION 2012-03-20 15:21:13.299 -----------------------------------------------
    eclipse.buildId=M20110210-1200
    java.version=1.6.0_25
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments: -application com.bea.alsb.core.ConfigExport -configProject OSB Configuration -configSubProjects RLTPCommonDataModel,RLTPCommonServices,RLTPSimulators,RLTPDummyServices,RLTPInventoryServices,RLTPOrderServices,RLTPMOMFileSyncUp,RLTPRTLogService,RLTPExchangeRates -configJar sbconfig.jar -includeDependencies false
    Command-line arguments: -data . -application com.bea.alsb.core.ConfigExport -configProject OSB Configuration -configSubProjects RLTPCommonDataModel,RLTPCommonServices,RLTPSimulators,RLTPDummyServices,RLTPInventoryServices,RLTPOrderServices,RLTPMOMFileSyncUp,RLTPRTLogService,RLTPExchangeRates -configJar sbconfig.jar -includeDependencies false
    !ENTRY org.eclipse.core.jobs 4 2 2012-03-20 15:23:57.544
    !MESSAGE An internal error occurred during: "Periodic workspace save.".
    !STACK 0
    java.lang.OutOfMemoryError: PermGen space
         at java.lang.String.intern(Native Method)
         at org.eclipse.equinox.internal.p2.persistence.XMLParser$TextHandler.processCharacters(XMLParser.java:461)
         at org.eclipse.equinox.internal.p2.persistence.XMLParser$AbstractHandler.finishCharacters(XMLParser.java:224)
         at org.eclipse.equinox.internal.p2.persistence.XMLParser$AbstractHandler.endElement(XMLParser.java:176)

    I am using the below ANT Script:
    <target name="buildWorkspace" depends="copyreplace">
    <java dir="${tmp.output.dir}" jar="${oepe.root}/plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar" fork="true" failonerror="true" maxmemory="768m">
    <arg line="-data ."/>
    <arg line="-application com.bea.alsb.core.ConfigExport"/>
    <arg line="-configProject ${project}"/>
    <arg line="-configSubProjects ${subProjects}"/>
    <arg line="-configJar ${importJar}"/>
    <arg line="-includeDependencies true"/>
    <sysproperty key="weblogic.home" value="${wl.home}"/>
    <sysproperty key="osb.home" value="${osb.root}"/>
    <sysproperty key="osgi.bundlefile.limit" value="500"/>
    <sysproperty key="harvester.home" value="${osb.root}/harvester"/>
    <sysproperty key="osgi.nl" value="en_US"/>
    <sysproperty key="sun.lang.ClassLoader.allowArraySyntax" value="true"/>
    </java>
    </target>
    <target name="deploy" depends="buildWorkspace">
    <echo message="importscript: ${wlst.import.script} propertyfile:${build.prop.file} "/>
    <java classname="weblogic.WLST" fork="true" failonerror="true">
    <arg line="${wlst.import.script} ${build.prop.file}"/>
    <classpath refid="class.path"/>
    </java>
    </target>

  • BOE hangs, java.lang.OutOfMemoryError: PermGen space,

    Good day,
    I have an issue when working in the CMC that everything hangs and the following errors appear:
    java.lang.OutOfMemoryError: PermGen space
    and
    Exception in thread "Business Objects - Sessions Clean up" java.lang.OutOfMemoryError: PermGen space
    I have tried removing the tomcat service, rebooting and re-installing BOE120Tomcat service.
    After I restart Tomcat it works for about 5 mins and the same erros start appearing again.
    On startup, this is what appears in the log immediatley:
    log4j:WARN Please initialize the log4j system properly.
    java.lang.ClassNotFoundException: [Ljava.lang.String;
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:635)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:422)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    10 Mar 2011 11:42:44 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    10 Mar 2011 11:42:44 AM org.apache.catalina.core.StandardContext start
    SEVERE: Context [/AnalyticalReporting] startup failed due to previous errors
    Any ideas?
    Many Thanks 
    Derek

    Not sure whether this will help you, but this is not the right forum
    [Analyzing Out-of-Memory Situations|http://help.sap.com/saphelp_nwesrce/helpdata/en/97/d0de42c02c420da92a7cec346f9168/content.htm]
    thanks
    G. Lakshmipathi

  • Java.lang.OutOfMemoryError: PermGen space in Weblogic 10.3

    Hi,
    I Installed OIM in Oracle Weblogic 10.3.When I try to execute the patch_weblogic.cmd ,I am getiing the "java.lang.OutOfMemoryError: PermGen space".I tried increasing the size in xlStartWLS.cmd file.But still the error exists.Any ide?.Following is the error trace:
    wldeploy] Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260009]Exception caught for class 'weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl' while attempting to create DeploymentManager: java.lang.OutOfMemoryError: PermGen space
    [wldeploy]      at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:130)
    [wldeploy]      at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
    [wldeploy]      at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:446)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:304)
    [wldeploy]      ... 32 more
    [wldeploy] Caused by: java.lang.OutOfMemoryError: PermGen space
    [wldeploy]      at java.lang.Class.getDeclaredMethods0(Native Method)
    [wldeploy]      at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    [wldeploy]      at java.lang.Class.getDeclaredMethod(Class.java:1935)
    [wldeploy]      at java.io.ObjectStreamClass.getInheritableMethod(ObjectStreamClass.java:1349)
    [wldeploy]      at java.io.ObjectStreamClass.access$2200(ObjectStreamClass.java:52)
    [wldeploy]      at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:448)
    [wldeploy]      at java.security.AccessController.doPrivileged(Native Method)
    [wldeploy]      at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:413)
    [wldeploy]      at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
    [wldeploy]      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1106)
    [wldeploy]      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
    [wldeploy]      at weblogic.rjvm.OutboundMsgAbbrev.writeObject(OutboundMsgAbbrev.java:77)
    [wldeploy]      at weblogic.rjvm.OutboundMsgAbbrev.writeAbbrevs(OutboundMsgAbbrev.java:56)
    [wldeploy]      at weblogic.rjvm.OutboundMsgAbbrev.write(OutboundMsgAbbrev.java:39)
    [wldeploy]      at weblogic.rjvm.MsgAbbrevJVMConnection.writeMsgAbbrevs(MsgAbbrevJVMConnection.java:212)
    [wldeploy]      at weblogic.rjvm.MsgAbbrevJVMConnection.sendMsg(MsgAbbrevJVMConnection.java:180)
    [wldeploy]      at weblogic.rjvm.MsgAbbrevJVMConnection.sendMsg(MsgAbbrevJVMConnection.java:142)
    [wldeploy]      at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1465)
    [wldeploy]      at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:437)
    [wldeploy]      at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
    [wldeploy]      at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
    [wldeploy]      at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
    [wldeploy]      at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:225)
    [wldeploy]      at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:188)
    [wldeploy]      at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    [wldeploy]      at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
    [wldeploy]      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    [wldeploy]      at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    [wldeploy]      at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
    [wldeploy]      at weblogic.jndi.Environment.getContext(Environment.java:315)
    [wldeploy]      at weblogic.jndi.Environment.getContext(Environment.java:285)
    [wldeploy]      at weblogic.jndi.Environment.createInitialContext(Environment.java:208)
    [ant] Exiting C:\oim910\oimserver\xellerate\setup\weblogic-setup.xml.
    java.lang.OutOfMemoryError: PermGen space
         at org.apache.tools.ant.DefaultLogger.formatTime(DefaultLogger.java:276)
         at org.apache.tools.ant.DefaultLogger.buildFinished(DefaultLogger.java:156)
         at org.apache.tools.ant.Project.fireBuildFinished(Project.java:1848)
         at org.apache.tools.ant.Main.runBuild(Main.java:688)
         at org.apache.tools.ant.Main.startAnt(Main.java:187)
         at org.apache.tools.ant.Main.start(Main.java:150)
         at org.apache.tools.ant.Main.main(Main.java:240)
    PermGen space
    Any input is highly appreciated.Thanks

    # Increase MaxPerm size
    eg: -XX:+MaxPermSize=256m
    # These additional parameters may also be helpful in some cases.
    eg: -Xmn1228m -XX:+AggressiveHeap -Xms2048m -Xmx2048m

  • Embedded WLS and JDev 12.1.2: java.lang.OutOfMemoryError: PermGen space

    This problem happens after about 10-15 application restarts during development phase. I have read somewhere that this was a known bug in 11g versions of JDev and its integrated WLS (10.3.5 or 10.3.6?). I have then increased memory parameters in configuration file. The only thing I achieved is that this crash now occurs later then sooner. Still very frustrating. When this happens I have to restart WLS and sometimes kill frozen JDeveloper.
    Any other idea/workaround?
    <Dec 30, 2013 12:37:04 PM CST> <Warning> <HTTP> <BEA-101384> <WLServlet annotation is deprecated, please use servlet 3.0 annotation instead. App:ADFOracleReports@ADFOracleReports-FwkExtensions-context-root, Class:oracle.adfinternal.view.faces.activedata.AdsServlet>
    <Dec 30, 2013 12:37:04 PM CST> <Warning> <HTTP> <BEA-101384> <WLServlet annotation is deprecated, please use servlet 3.0 annotation instead. App:ADFOracleReports@ADFOracleReports-ViewController-context-root, Class:oracle.adfinternal.view.faces.activedata.AdsServlet>
    <Dec 30, 2013 12:37:22 PM CST> <Warning> <HTTP> <BEA-101162> <User defined listener org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl failed: java.lang.OutOfMemoryError: PermGen space.
    java.lang.OutOfMemoryError: PermGen space
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:385)
      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:344)
      Truncated. see log file for complete stacktrace
    >
    <Dec 30, 2013 12:37:33 PM CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "1388428621416" for task "10". Error is: "weblogic.application.ModuleException: java.lang.OutOfMemoryError: PermGen space"
    weblogic.application.ModuleException: java.lang.OutOfMemoryError: PermGen space
      at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      Truncated. see log file for complete stacktrace
    Caused By: java.lang.OutOfMemoryError: PermGen space
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:385)
      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:344)
      Truncated. see log file for complete stacktrace
    >
    <Dec 30, 2013 12:37:33 PM CST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application "ADFOracleReports".>
    <Dec 30, 2013 12:37:33 PM CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "ADFOracleReports".>
    <Dec 30, 2013 12:37:33 PM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: java.lang.OutOfMemoryError: PermGen space
      at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      Truncated. see log file for complete stacktrace
    Caused By: java.lang.OutOfMemoryError: PermGen space
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:385)
      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:344)
      Truncated. see log file for complete stacktrace
    >
    [12:37:53 PM] Cancel requested
    [Application ADFOracleReports stopped and undeployed from IntegratedWebLogicServer]
    <Dec 30, 2013 12:37:53 PM CST> <Error> <Deployer> <BEA-149062> <The task containing ID 10 cannot be canceled, since it has already completed execution.>
    <Dec 30, 2013 12:37:53 PM CST> <Warning> <RMI> <BEA-080003> <A RuntimeException was generated by the RMI server: javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;Ljava.rmi.MarshalledObject;[Ljava.lang.String;Ljavax.security.auth.Subject;)
    javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: [Deployer:149062]The task containing ID 10 cannot be canceled, since it has already completed execution..
    javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: [Deployer:149062]The task containing ID 10 cannot be canceled, since it has already completed execution.
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:821)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
      at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:375)
      Truncated. see log file for complete stacktrace
    Caused By: java.lang.UnsupportedOperationException: [Deployer:149062]The task containing ID 10 cannot be canceled, since it has already completed execution.
      at weblogic.management.deploy.DeploymentTaskRuntime.prepareToCancel(DeploymentTaskRuntime.java:881)
      at weblogic.management.deploy.DeploymentTaskRuntime.cancel(DeploymentTaskRuntime.java:854)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      Truncated. see log file for complete stacktrace
    >

    You can try to change the garbage collector algorithm. Refere to http://bexhuff.com/2012/09/jdeveloper-memory-and-performance
    Timo

  • 10.1.3 Apps Server java.lang.OutOfMemoryError: PermGen space

    Hi,
    I am continually getting java.lang.OutOfMemoryError: PermGen space errors when using the application server control. I have two applications deployed which have been running ok (since i bumped up the MaxPermSize in oc4j_opmn.xml)
    I have set the max perm size to 512m should i need to set this higher to get the AS stable?
    The error has happened this time when I selected an application and clicked Redeploy. Because the ASC dies i can't get any useful information on what the server is doing before it memory leaks itself out of existence.
    any help would be appreciated,
    Brenden

    Hi,
    I found this in the manual as a solution for out of memory errors:
    (from the opmn.xml in $ORACLE_HOME/opmn/conf/)
    <ias-component id="OC4J">
      <process-type id="home" module-id="OC4J" status="enabled">
        <module-data>
          <category id="start-parameters">
            <data id="java-options" value="-Xms512m -Xmx512m -Djava.awt.headless=true
              -Dhttp.webdir.enable=false"/>
          </category>
        </module-data>
      </process-type>
    </ias-component>reference:
    http://download-west.oracle.com/docs/cd/B25221_03/web.1013/b14432/diagnosis.htm#sthref509
    shall see if it works......
    Brenden

  • OC4J 10.1.3 java.lang.OutOfMemoryError: PermGen space

    Hi All,
    I am getting OutOfMemoryError while trying to deploy a War file on OC4J 10.1.3 on Win XP 32-bit OS (4GB) machine. The same configuration of OC4J 10.1.3 on Sun Solaris the war file is getting deployed properly.
    I did tried the recommendation provided on the below link:
    https://community.oracle.com/thread/616067
    However was not able to fix the issue. Could someone give more recommendations on this issue please ?
    The oc4j_opmn.xml is this:
    <ias-component id="OC4J">
        <process-type id="home" module-id="OC4J" status="enabled">
          <module-data>
      <category id="start-parameters">
              <data id="java-options" value="-server -XX:MaxPermSize=128M -ms512M -mx1024M -XX:AppendRatio=3 -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
            </category>
            <category id="stop-parameters">
              <data id="java-options" value="-Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/>
            </category>
          </module-data>
          <start   timeout="600" retry="2"/>
          <stop    timeout="120"/>
          <restart timeout="720" retry="2"/>
          <port id="default-web-site" range="12501-12600" protocol="ajp"/>
          <port id="rmi" range="12401-12500"/>
          <port id="jms" range="12601-12700"/>
          <process-set id="default_group" numprocs="1"/>
        </process-type>
    </ias-component>
    Web console deployment log:
    [Feb 23, 2015 5:52:32 PM] Application Deployer for xxx STARTS.
    [Feb 23, 2015 5:52:32 PM] Copy the archive to D:\product\10.1.3\OracleAS_2\j2ee\home\applications\xxx.ear
    [Feb 23, 2015 5:52:32 PM] Initialize D:\product\10.1.3\OracleAS_2\j2ee\home\applications\xxx.ear begins...
    [Feb 23, 2015 5:52:32 PM] Unpacking xxx.ear
    [Feb 23, 2015 5:52:32 PM] Done unpacking xxx.ear
    [Feb 23, 2015 5:52:32 PM] Unpacking xxx.war
    [Feb 23, 2015 5:52:33 PM] Done unpacking xxx.war
    [Feb 23, 2015 5:52:33 PM] Initialize D:\product\10.1.3\OracleAS_2\j2ee\home\applications\xxx.ear ends...
    [Feb 23, 2015 5:52:33 PM] Starting application : xxx
    [Feb 23, 2015 5:52:33 PM] Initializing ClassLoader(s)
    [Feb 23, 2015 5:52:33 PM] Initializing EJB container
    [Feb 23, 2015 5:52:33 PM] Loading connector(s)
    [Feb 23, 2015 5:52:33 PM] Starting up resource adapters
    [Feb 23, 2015 5:52:33 PM] Initializing EJB sessions
    [Feb 23, 2015 5:52:33 PM] Committing ClassLoader(s)
    [Feb 23, 2015 5:52:33 PM] Initialize xxx begins...
    [Feb 23, 2015 5:52:33 PM] Initialize xxx ends...
    [Feb 23, 2015 5:52:33 PM] Started application : xxx
    [Feb 23, 2015 5:52:33 PM] Binding web application(s) to site default-web-site begins...
    [Feb 23, 2015 5:52:33 PM] Binding xxx web-module for application xxx to site default-web-site under context root xxx
    Error log:
    15/02/23 15:14:23.817 10.1.3.0.0 Started
    15/02/23 15:14:28.98 ascontrol: 10.1.3.0.0 Started
    15/02/23 15:19:56.511 ascontrol: Servlet error
    java.lang.OutOfMemoryError: PermGen space
    15/02/23 15:21:59.982 10.1.3.0.0 Started
    15/02/23 15:22:03.341 ascontrol: 10.1.3.0.0 Started
    15/02/23 15:41:55.911 ascontrol: 10.1.3.0.0 Stopped
    15/02/23 15:42:05.755 10.1.3.0.0 Started
    15/02/23 15:42:09.255 ascontrol: 10.1.3.0.0 Started
    15/02/23 15:44:42.461 ascontrol: Servlet error
    java.lang.OutOfMemoryError: PermGen space
    15/02/23 15:44:51.602 ascontrol: Servlet error
    java.lang.OutOfMemoryError: PermGen space
    15/02/23 16:29:16.453 10.1.3.0.0 Started
    15/02/23 16:29:20.749 ascontrol: 10.1.3.0.0 Started
    15/02/23 17:51:01.600 ascontrol: 10.1.3.0.0 Stopped
    15/02/23 17:51:08.679 10.1.3.0.0 Started
    15/02/23 17:51:12.101 ascontrol: 10.1.3.0.0 Started
    15/02/23 17:53:11.978 ascontrol: Servlet error
    15/02/23 17:53:12.962 ascontrol: Servlet error
    15/02/23 17:53:24.166 ascontrol: Servlet error
    java.lang.OutOfMemoryError: PermGen space
    Really appreciate any kind of suggestions.
    Thank you

    It looks like you're still missing a few of the arguments from the thread, make sure to have the following as well in the java options: -Xms512m -Xmx750m
    Thanks,
    Joe

  • Server startup - java.lang.OutOfMemoryError: PermGen space

    Version: WebLogic Server 10.3.2.0
    JVM Sun 6 64
    OS Windows Server 2008 64
    Hi there,
    I got the following error from a managed server startup. The AdminManager e NodeManager instances are up and runnig and the startup comand is performed from the web gui.
    I tried to play with JVM arguments (web gui, not on script) increasing the amount to -Xms512m -Xmx1024m, but with not success and because the instance hasn't got any application deployed I felt reasonable put them back to -Xms512m -Xmx512m.
    <13-Jan-2010 22:35:12 o'clock GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <13-Jan-2010 22:35:12 o'clock GMT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <13-Jan-2010 22:35:14 o'clock GMT> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the jks keystore file D:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\DemoIdentity.jks.>
    Exception in thread "[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError: PermGen space
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Exception in thread "Timer-1" The WebLogic Server encountered a critical failure
    java.lang.OutOfMemoryError: PermGen space
    Reason: PermGen space
    <13-Jan-2010 22:35:27> <FINEST> <NodeManager> <Waiting for the process to die: 3624>
    <13-Jan-2010 22:35:27> <INFO> <NodeManager> <Server failed during startup so will not be restarted>
    <13-Jan-2010 22:35:27> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>
    Thanks in advance for any help.

    Hi,
    As you have mentioned that you tried to play with JVM arguments (web gui, not on script) increasing the amount to -Xms512m -Xmx1024m.....
    In case of OutOfMemoryError in PermGen Sapace ...increasing only the Heap Size will not solve anything...
    Just a Bit Explaination:
    Formula:
    (OS Level)Process Size = Java Heap Native Space (2-3% OS related Memory)
    PermSize : It's a Native Memory Area Outside of the Heap, Where ClassLoading kind of things happens.... In an operating System like Windows Default Process Size is 2GB (2048MB) default (It doesnt matter How much RAM do u have 2GB or 4GB or more)...until we dont change it by setting OS level parameter to increase the process size..Usually in OS like Solaris/Linux we get 4GB process size as well.
    Now Lets take the default Process Size=2GB (Windows), Now if you have set the -Xmx512M, we can assume that rest of the memory 1536 Mb is available for Native codes.
    (ProcessSize (-) HeapSize) = Native (+) (2-3% OS related Memory)
    2048 MB (-) 512 MB = 1536 MB
    THUMB RULES:
    MaxPermSize = (Xmx/3) ---- Very Special Cases (One Third of maximum Heap Size)
    MaxPermSize = (Xmx/4) ---- Recommended (One Fourth Of maximum Heap Size)
    So finally you need to increase the PermGen Size... like -Xmx1024m -Xms1024m -XX:MaxPermSize256m
    But again these are not the Final values ... It depends on ther Environments
    Thanks
    Jay SenSharma
    Edited by: Jay SenSharma on Jan 14, 2010 5:36 PM

  • Getting java.lang.OutOfMemoryError: PermGen space

    Hi,
    In JCAPS5.1.1 after deploying my project, i am getting following error.
    #|2007-02-20T16:38:48.319+0530|SEVERE|IS5.1.1|STC.eWay.batch.com.stc.connector.batchadapter.system.BatchInboundWork|_ThreadID=50; ThreadName=Worker: 140;stacktrace-id=13;|Exception in BatchInboundWork, BatchInboundWork terminated, e=java.lang.OutOfMemoryError: PermGen space
    java.lang.OutOfMemoryError: PermGen space
    |#]
    Earlier also i have deployed projects but never
    faced this type of error.
    Please let me know Is there any work around to
    rectify this kind of OutOf memory error.
    Thanks
    Venkatesh.S
    Message was edited by:
    VenkateshSampoornam

    Hi moonsit !
    Yes, currently our PermSize is set to 384mb (-XX:MaxPermSize=384m).
    Hi Alan !
    Yes, we get the same conclusion, after deploy or redeploy projects we get the OOME, but I was expecting that SUN support resolve this issue and not use the stop/start as a way to fix that, since sometimes it will impact our production environment.
    I searched over internet and discover that some thirdpart libraries version has memory leaks. It's the case of apache commons-logging 1.0.6 and apache commons-beanutils 1.6. I found them in the lib directory of Integration Server in JCAPS 5.1.3 and may be there is more thinks like that. Both libraries has newer version with this issue fixed. Maybe SUN need to be adviced about that.
    Does anyone else found a way to fix that ? Or a workaround that we can do to avoid the restart of LH ?
    Thanks !
    Thiago

  • JSF-java.lang.OutOfMemoryError: PermGen space

    Hai All !
    I am developing one JSF Application .
    Some Times I getting Error when I run my Application , Really i donot why this error is comming . if I once restart my Tomcat Server(Netbeans) whenever I face the Problem , the error we be gone. could you tell me what is the Reason
    This is my Error , which i facing .
    javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
         org.apache.jsp.feeNewRegistration_jsp._jspService(feeNewRegistration_jsp.java:209)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
         com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:439)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:114)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
         com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.render(PartialTraversalLifecycle.java:91)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    Thanks All
    Selvakumar.k

    Could you please share your feeNewRegistration.jsp ? Do you have a never ending loop in there?

  • Diagnosing java.lang.OutOfMemoryError: PermGen space

    I am getting this error on our test instance:
    Exception in thread "Thread-96425" java.lang.OutOfMemoryError: PermGen space
    (We are using JDK 1.5.0_03)
    What tools can I use to inspect the contents of PermGen? In particular, is there a way to see all the interned String objects?
    I tried jmap -permstat, but it only shows perm gen usage based on classloader. I wasn't sure how to check the intern Strings.
    Thanks
    Sam

    Hi All,
    We just to add few things before i go into deep as to what is the root cause that might cause Out Of Memory due to Permanant Generation.
    Well recently i had faced this issue in one of the biggest application used in UK.I faced this issue and the resoultion for this took to almost 3 months.Now the issue is resolved.The reason for this was in the application itself.
    Well to diagnose this, please add the following parameter into the JVM Options of the instance you are using it.DON'T use parallelGC.
    -verbose:gc
    -XX:+PrintClassHistogram
    -XX:+PrintGCDetails
    After this JVM options are added, restart you instance and then check the server.log file.You will see lots of classes.Please do a analysis of this classes.You will observe that some of the classes keeps on growing even after the FULLGC is done.It means that there is some problem you need to check either at the application layer as to which classes are creating this problem.Normally classes or sometimes API's being used by the application can caused PermGen issue.
    Well String.intern method normally being used by XML api's .
    Please drop me a mail for any further information you require.My id is
    [email protected]
    Regrads
    Rahul Shah

  • Java.lang.RuntimeException: java.lang.OutOfMemoryError: PermGen space

    Hi All ..we are running with the following configuration.
    Solaris Version 5.10
    ./prtconf
    System Configuration: Sun Microsystems sun4v
    Memory size: 8184 Megabytes
    App Server Version,
    Sun Java System Application Server Enterprise Edition 8.1_02 (build b11-fcs)
    JVM Options in domain.xml,
    <jvm-options>-Xmx512m</jvm-options>
    but what Im facing is..say once in two days..when I open my application in the browser it shows..
    Server Error
    This server has encountered an internal error which prevents it from fulfilling your request. The most likely cause is a misconfiguration. Please ask the administrator to look for messages in the server's error log.
    and in my server.log it shows..,
    WARNING|sun-appserver-ee8.1_02|javax.enterprise.system.container.web|_ThreadID=17;|WEB3061 : HttpService: Unhandled pipeline exception
    java.lang.RuntimeException: java.lang.OutOfMemoryError: PermGen space
    at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:251)
    at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2071)
    Caused by: java.lang.OutOfMemoryError: PermGen space
    |#]
    after getting this I used to reboot the machine..then It ll be fine for some time.,this happens repeatedly..
    and some of the documents says..we need to increase the Xmx..
    if it so.,how much I can incerase..we are running sun x-fire t2000
    Thanks in Advance,
    Ashik

    Rebooting the machine is unnecessary; you can just stop and restart the application server.
    The PermGen holds Class objects primarily (also interned strings and a few other things); are you doing a lot of deployment/redeployment? Those operations greatly increase the number of classes in use by the app server (because each new deployment is a new set of classes from the app server perspective), and that's the most common cause of this problem. In that case, the only thing to do is increase the PermGen size by including in your jvm-options -XX:MaxPermSize=<something>; I'd try 128m or 256m.
    More recent versions of the app server (especially platform edition 9.0) have better handling of the multiple classes involved, so you might want to check them out.
    A good reference on GC is http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html
    -Scott

  • Java.lang.OutOfMemoryError:PermGen space error

    We haven't been able to go live with our help systems on RoboHelp Server 8 yet due to some major memory issues with Tomcat/RoboHelp Server. We've been working with Tulika on this issue, but I just wanted to check in and see if anyone else here has experienced such a thing, and if so....what did you do to fix it?
    After installing the server, having it up and running for a few months, and posting help systems to the server....it suddenly has serious memory issues that are making it crash.
    We were advised to configure the maximum and minimum heap space setings for Initial memory pool and maximum memory pool both to the following: 256, 512, 768 and 1024. 
    We are receiving the java.lang.OutOfMemoryError: PermGen space error when increasing the setting to 512.  When trying to increase the setting to 768 or 1024 Apache Tomcat uses 100% of the CPU and then stops after about a minute.  When trying to start the service back up it spikes to 100% CPU usage and then dies again. This happens continuously and makes it so the services constantly stop! If you try to hit a site that is hosted on the RH 8 Server it causes it to spike and crashes.
    Overview:
    Software being used Adobe Robohelp8 and Apache Tomcat 6.0.
    We have around 11 sites being hosted on Robohelp8.
    Server specs are 2.93GHz processor and 4G RAM.

    Hi jdcyclone1,
    You need to increase PermSpace available to your tomcat. You can do that using <tomcat-install-dir>/bin/tomcat6w.exe
    Just ensure that your “Maximum memory pool” and “XX:MaxPermSize” should not add up to more than actual memory you can make available to tomcat. The setting is as shown in this snapshot:

Maybe you are looking for

  • Steps to create your own self signed certificate with java plugin working

    You need two tools that comes with your jdk which are keytool and jarsigner. Steps explain below in detail. Don't use netscape signtool, it will NEVER work! * keytool -genkey -keyalg rsa -alias tstkey -keypass 2br2h2m -dname "cn=Test Object Signing C

  • How can I put the App Store App back on to my macbook? help

    the app store app has been removed from my laptop and I can not figure out how to get it back. Please help???

  • Still no native M2T handling in FCP6?

    The tech specs for FCP6 claims "Native long GOP MPEG-2 editing for HDV, including 1080i 50/60, 1080p 24/25/30, 720p 24/25/30" and I took this as it now going to (finally) support native M2T files, however this looks to be a big mistake on my part bec

  • Contribute Won't Transfer Data

    After working well some weeks ago, Contribute CS3 now says it is not able to transfer data, so I can't access my site to edit. It does state that it can connect to the server, but then nothing happens. I've had to recreate a connection profile with t

  • Best format for iMovie input: DV or AppleIntermetiateCodec

    I thought (and I think I read here several times) that the best input for iMovie, if you use a MiniDV camcorder, was to import the DV files into the app. Now I have read an article ( http://imovietricks.blogspot.com/ )where it is said that iMovie doe