PermGen

Hi
I am getting Java.lang.OutOfMemoryError: PermGen space error in my application. In order to reduce the same i increased my perm gen space to 256 MB via <jvm-arg>-XX:MaxPermSize=256m</jvm-arg> but the error reoccurred. So I have checked the number of classes that were loading in the JVM and reduced the primitive arrays and inline strings used. Though my application runs on an ERROR logging mode, still i get the same error.. Can you please suggest some more actions i could take..

Are you working with Stanalone Application or Web Based ?
If WebBased than please specify OS and Server name.
Increasing JVM Space normally solve the issue. But better u check ur code and try to figure out what type of object are acquiring memory that they should not do.
Means GC going to fail to collect that object although that are not really used.
Regards,
Shirin

Similar Messages

  • OBIEE 11g installation - OutOfMemoryError: PermGen space

    Hi All
    OBIEE 11g installation fails at configuration step with the following error:
    Creating a new AdminServer Object ...
    AdminServer port is 7001
    Starting the domain ...
    java.lang.OutOfMemoryError: PermGen space
    java.lang.OutOfMemoryError: PermGen space
    We tried to set the set JRE_MEMORY_OPTIONS in oraparam.ini file and ran the config.bat too.
    While running config.bat, the setup is asking for "Scale out BI" and not for creating New domain.
    So we are unable to continue with the installation.
    Has anyone faced this error.
    We are installing on Win7 64 bit machine.
    Thanks
    Edited by: 943911 on Aug 8, 2012 5:17 AM

    increase permgen space like this:
    -XX:PermSize=256m
    -XX:MaxPermSize=256m
    If not try enabling permgen garbage collection with
    -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled

  • Permgen error while launching the weblogic server in windows

    Hi,
    While starting the weblogic server from the windows, I am getting the below error 'Permgen space error' for Sip Server. Please let me know how can I avoid running the sip server while starting the weblogic server or how can I avoid the permgen error.
    <21 Apr, 2012 7:33:33 AM IST> <Warning> <J2EE> <BEA-160195> <The application ver
    sion lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLif
    ecycleListener is ignored because the application em is not versioned.>
    <21 Apr, 2012 7:33:36 AM IST> <Notice> <SipServer.Resource> <BEA-332401> <Initia
    lizing SipServer Resource with configuration com.bea.wcp.sip.management.descript
    or.beans.SipServerBeanImpl>
    <21 Apr, 2012 7:33:36 AM IST> <Notice> <SipServer.Resource> <BEA-332404> <Engine
    AdminServer is in NON-REPLICATED mode>
    <21 Apr, 2012 7:33:36 AM IST> <Notice> <WLSS.Engine> <BEA-330071> <WebLogic Sip
    Server "AdminServer" patch version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06
    PDT 2011 1398638
    Javax Server Pages Client Capable 1.2 Tue Jul 13 02:43:41 EDT 2010
    Expression Language 2.1 for JSP 1.0 Sun Jul 18 23:17:34 PDT 2010
    Javax Enterprise Servlets Client Capable 1.0 Thu Aug 2 12:41:25 EDT 2007
    Eclipse Java Development Tools 3.5.2 Thu Sep 2 09:47:11 EDT 2010
    WebLogic java compiler utils package Client Capable 1.2 Thu Feb 11 03:38:50 EST
    2010
    WebLogic WebApp Container Public API Client Capable 1.4 Fri Oct 1 20:01:15 PDT 2
    010
    Oracle WebLogic Server Module Dependencies 10.3 Thu Mar 3 14:37:52 PST 2011
    Oracle WebLogic Server on JRockit Virtual Edition Module Dependencies 10.3 Thu F
    eb 3 16:30:47 EST 2011
    ANTLR Java based compiler generator Client 2.7 Mon Jun 11 12:19:48 EDT 2007
    WebLogic Descriptors for J2EE 1.5 Wed May 5 14:32:58 EDT 2010
    WebLogic Descriptors for J2EE 1.5 Binding Bundle
    WebLogic Specific Descriptors 1.3 Tue Sep 14 18:48:42 PDT 2010
    WebLogic Specific Descriptors 1.3 Binding Bundle
    WebLogic Datasource 1.9 Tue Oct 26 13:50:26 PDT 2010
    WebLogic Datasource 1.9 Binding Bundle
    WebLogic Beangen Client Capable 1.7 Wed Feb 24 16:02:48 PST 2010
    WebLogic Beangen 1.7 Binding Bundle
    WLDF Accessor Client Capable 1.5 Fri Sep 3 17:10:52 EDT 2010
    WLDF Accessor 1.5 Binding Bundle
    WebLogic Management Core Interfaces Client Capable 2.8 Thu Mar 3 12:10:10 EST 20
    11
    WebLogic Management Core Interfaces 2.8 Binding Bundle
    WebLogic EJBGen Client Capable 1.1 Thu Jun 3 13:17:07 EDT 2010
    Apache Byte Code Engineering Library (BCEL) extracted from 5.2.zip from http://j
    akarta.apache.org/site/downloads/downloads_bcel.cgi with packages renamed from o
    rg.apache.bcel to com.bea.core.repackaged.apache.bcel Client 5.2 Tue May 15 09:5
    2:37 EDT 2007
    Apache commons collections package 3.2 Tue Mar 20 15:48:25 MDT 2007
    Apache commons lang package 2.1 Tue Mar 20 15:48:30 MDT 2007
    Apache commons pool package 1.3 Tue Mar 20 15:48:36 MDT 2007
    Apache commons io 1.4 package 1.0 Wed Jun 2 17:36:36 EDT 2010
    Apache commons fileupload 1.2.1 package 1.0 Wed Jun 2 17:36:36 EDT 2010
    Apache DOM implementation 1.0 Tue Mar 20 15:36:46 MDT 2007
    Apache Logging Support 1.0 Tue Mar 20 15:36:50 MDT 2007
    Apache OpenJPA classes 1.2 Thu Jul 22 05:16:07 EDT 2010
    XMLBeans - Apache SVN rev 962560 2.1 Thu Jul 15 09:52:54 EDT 2010
    BEA Logging Runtime Support Client Capable 1.8 Mon Jun 7 12:07:02 PDT 2010
    BEA Common Security Open SAML 1.0 Fri May 14 20:18:10 PDT 2010
    BEA OpenSAML 2.0 1.0 Wed Mar 24 13:18:27 PDT 2010
    bea-harvester-api2.0 Client Capable 2.3 Mon Feb 15 14:41:06 EST 2010
    bea-harvester-jmx2.0 Client Capable 2.3 Wed Feb 3 11:54:03 PST 2010
    bea-harvester-utils Client Capable 1.4 Mon Feb 15 14:41:06 EST 2010
    bea-mbean-typing-util 1.4 Wed Feb 24 19:15:33 EST 2010
    Javolution 3.7.19 3.7 Tue Aug 28 17:32:21 PDT 2007
    Joda-time 1.2.1 1.2 Tue Aug 28 17:32:27 PDT 2007
    BEA STAX Build Time Support 1.5 Tue May 4 07:32:25 PDT 2010
    BEA STAX Runtime Time Support Client Capable 1.7 Wed Aug 4 19:40:47 EDT 2010
    BEA Generic Annotations Client Capable 1.3 Sat Jul 11 00:30:54 EDT 2009
    BEA Kodo 1.4 Mon Feb 7 16:22:04 PST 2011
    BEA Kodo Integration Client Capable 1.6 Sun Nov 22 16:29:06 PST 2009
    BEA Kodo Integration 1.6 Binding Bundle
    BEA Kodo Integration Tools 1.4 Thu Feb 3 16:07:53 EST 2011
    XML Beans Marshalling (package renamed com.bea) SVN 962560 2.3 Thu Mar 3 12:10:1
    0 EST 2011
    WebLogic Utils Client Capable 1.9 Thu Mar 3 12:10:10 EST 2011
    Aspect 5.3 Fri Jun 4 14:55:18 PDT 2010
    BEA Apache Commons Logging Repackaged 1.2 Mon Jun 11 12:47:12 EDT 2007
    Spring Framework 1.1 Thu Dec 3 12:21:08 EST 2009
    Pitchfork 1.3 Thu Jun 3 13:17:07 EDT 2010
    ${description} 1.2 Fri Jun 25 16:25:26 EDT 2010
    CSS i18n 1.0 Fri Oct 8 10:32:52 EDT 2010
    CSS xacml 1.0 Fri Oct 8 10:32:52 EDT 2010
    SAML2 Utils 1.0 Fri Oct 8 10:32:52 EDT 2010
    BEA Common Security Engine Implementation 1.0 Fri Oct 8 10:32:52 EDT 2010
    BEA Common Security Engine Interfaces 1.0 Fri Oct 8 10:32:52 EDT 2010
    BEA Common Security API 1.0 Fri Oct 8 10:32:52 EDT 2010
    BEA Common Security Implementation 1.0 Fri Oct 8 10:32:52 EDT 2010
    BEA Common Security JDK Utilities 1.0 Fri Oct 8 10:32:52 EDT 2010
    Security Utilities 1.0 Fri Oct 8 10:32:52 EDT 2010
    Common Security SAML 2.0 1.0 Fri Oct 8 10:32:52 EDT 2010
    Common Security SAML 2.0 Management JavaBeans 1.0 Fri Oct 8 10:32:52 EDT 2010
    Security Provider Utilities 1.0 Fri Oct 8 10:32:52 EDT 2010
    SAML Utils 1.0 Fri Oct 8 10:32:52 EDT 2010
    XACML Utils 1.0 Fri Oct 8 10:32:52 EDT 2010
    Security Provider Environment 1.0 Fri Oct 8 10:32:52 EDT 2010
    RSA certj 3.1 Wed May 5 15:11:55 PDT 2010
    Netscape LDAP JDK 1.2 Mon Jun 7 15:56:47 EDT 2010
    Commons Networking Utilty classes 1.0 Wed Feb 6 15:01:03 PST 2008
    WebLogic SAAJ 1.6 Wed Jun 16 22:02:31 EDT 2010
    WebLogic STAX Client Capable 1.9 Thu Feb 10 18:00:52 PST 2011
    jaxb-impl.jar taken from Glassfish JAXB 2.1.9 1.0 Fri Aug 20 14:37:07 EDT 2010
    jaxb-impl.jar taken from Glassfish JAXB 2.1.12 1.0 Thu May 6 16:10:04 PDT 2010
    resolver.jar taken from Glassfish JAXWS 2.1.5 1.0 Thu Dec 3 11:46:24 EST 2009
    Fastinfoset.jar taken from Glassfish JAXWS 2.1.5 1.0 Thu Dec 3 11:46:27 EST 2009
    jaxws-rt.jar taken from Glassfish JAXWS 2.1.5 1.2 Mon Feb 28 17:53:01 PST 2011
    Java.net implementation of MimePull.jar taken from Glassfish JAXWS 2.1.5 1.0 Thu
    Dec 3 11:46:33 EST 2009
    Codehaus STaX Interfaces 3.0.1 1.0 Mon Mar 8 20:49:50 PST 2010
    Woodstox STaX Parser 4.0.5 1.0 Thu Dec 3 11:35:43 EST 2009
    jaxws-tools.jar taken from Glassfish JAXWS 2.1.5 1.1 Fri Sep 24 17:55:05 PDT 201
    0
    Java.net Stax Extensions 1.0 Tue Jun 3 07:12:06 PDT 2008
    Java.net xml stream buffer 1.0 Tue Mar 17 05:24:12 PDT 2009
    Jakarta ORO 1.0 Wed Feb 6 15:01:03 PST 2008
    Javax Enterprise Activation 1.1 Tue Apr 8 09:31:17 PDT 2008
    Javax Annotation 1.0 Fri Dec 25 09:02:47 PST 2009
    Javax Interceptor 1.0 Tue Mar 20 15:37:16 MDT 2007
    Javax Enterprise Beans 3.0 Mon Jun 11 12:21:01 EDT 2007
    Java Data Objects 2.0 Mon Jun 11 12:20:56 EDT 2007
    Java Enterprise Deployment APIs 1.2 Tue Mar 20 15:37:28 MDT 2007
    Java Enterprise Messaging 1.1 Mon Jun 11 12:21:11 EDT 2007
    Java Web Services 2.0 Tue Mar 20 15:37:37 MDT 2007
    Javax Enterprise Mail 1.1 Mon Jul 6 10:41:09 MDT 2009
    Java Enterprise Management APIs 1.0 Tue Mar 20 15:37:49 MDT 2007
    Java Persistence Client Capable 1.0 Tue Oct 7 12:18:34 PDT 2008
    Java Connector 1.5 Mon Jun 11 12:22:07 EDT 2007
    Java Authorization Contract for Containers 1.0 Wed Feb 6 15:01:03 PST 2008
    Javax Transaction APIs Client Capable 1.0 Thu Aug 2 12:42:14 EDT 2007
    JAXB 2.1 Mon Jun 11 12:22:53 EDT 2007
    Java XML Registry 1.0 Wed Feb 6 15:01:03 PST 2008
    Java XML Soap Extensions 1.3 Mon Jun 11 12:22:59 EDT 2007
    Java Stream XML Extensions 1.1 Mon Jun 11 12:23:05 EDT 2007
    JAX-WS APIs 2.1 Mon Jun 11 12:23:16 EDT 2007
    Java API for XML-based RPC 1.2 Mon Jun 11 12:23:10 EDT 2007
    Monfox Dynamic SNMP Agent 1.1 Fri Mar 19 05:46:27 MDT 2010
    Serp bytecode manipulation framework 1.14.3 Fri Jun 11 12:06:08 PDT 2010
    WebLogic Apache Classes Client Capable 1.2 Thu Feb 18 22:06:19 PST 2010
    WebLogic BeanInfo Caching and Discovery Client Capable 2.4 Sat Oct 25 20:46:29 P
    DT 2008
    WebLogic Descriptor Client Capable 1.9 Tue Jul 20 16:03:09 EDT 2010
    Repackaged ASM-3.2 1.0 Fri Jul 31 19:30:27 MDT 2009
    Repackaged asm-commons-3.2 1.0 Fri Jul 31 19:30:27 MDT 2009
    Repackaged asm-tree-3.2 1.0 Fri Jul 31 19:30:27 MDT 2009
    Repackaged asm-util-3.2 1.0 Fri Jul 31 19:30:27 MDT 2009
    Oracle JFR 1.0 Thu Feb 18 19:06:33 PST 2010
    WebLogic Diagnostics Core Interfaces Client Capable 2.5 Thu Jun 3 05:20:41 PDT 2
    010
    WebLogic Diagnostics Logging Client Capable 1.2 Fri Dec 12 11:37:59 MST 2008
    WebLogic Diagnostics Query Module Client Capable 1.2 Tue Oct 27 02:48:36 PDT 200
    9
    WebLogic Diagnostics Instrumentor Tool 1.7 Tue May 18 03:51:46 PDT 2010
    WebLogic Diagnostics Instrumentor Config Tool 1.7 Tue Jun 29 16:41:19 EDT 2010
    WebLogic Diagnostics JRockit Flight Recorder Interfaces Client Capable 1.1 Fri O
    ct 29 16:32:05 EDT 2010
    Diagnostics Notifications Module Client Capable 1.4 Sun Nov 22 16:03:32 PST 2009
    BEA Logging Runtime Support Client Capable 1.5 Thu Apr 29 20:43:42 EDT 2010
    WebLogic i18n Runtime Support Client Capable 1.8 Fri Sep 10 08:12:34 EDT 2010
    WebLogic i18n Build Support Client Capable 1.5 Fri Feb 19 15:03:15 EST 2010
    WebLogic I18N tools Client Capable 1.3 Sun Nov 22 16:03:32 PST 2009
    WebLogic Management JMX Interfaces 1.4 Thu Aug 12 11:16:22 PDT 2010
    WebLogic Security Provider Generation Tool 1.5 Wed Oct 14 16:39:28 MDT 2009
    WebLogic Security Provider Generation Tool Client Capable 1.5 Wed Oct 14 16:39:2
    8 MDT 2009
    WebLogic Messaging Kernel Client Capable 1.8 Mon Aug 23 21:42:11 EDT 2010
    WebLogic Resource Pool Client Capable 1.7 Mon Sep 27 12:00:08 EDT 2010
    WebLogic Socket Muxer API Client Capable 1.2 Thu Apr 1 21:16:27 EDT 2010
    WebLogic RMI Client Capable 1.10 Tue Mar 22 16:56:32 PDT 2011
    Common Security WebLogic Server Integration Support 1.0 Fri Oct 8 10:32:52 EDT
    2010
    Server Lifecycle Interfaces Client Capable 1.4 Fri Feb 19 15:03:15 EST 2010
    WebLogic Store Client Capable 1.7 Fri Dec 17 16:52:31 EST 2010
    WebLogic STORE GXA Client Capable 1.6 Mon Aug 23 21:16:10 EDT 2010
    WebLogic Store Admin Tool Client Capable 1.2 Thu Jan 21 10:24:18 PST 2010
    WebLogic JDBC Store Client Capable 1.3 Mon May 17 10:46:33 PDT 2010
    WebLogic JTA implementation Client Capable 2.7 Fri Sep 17 12:19:45 PDT 2010
    WebLogic Utils 1.9 Thu Mar 3 12:10:10 EST 2011
    Agent Utililities 1.1 Tue Feb 16 00:16:03 EST 2010
    WebLogic Utility Classloader implementations Client Capable 1.9 Wed Mar 2 14:10:
    04 PST 2011
    WebLogic Utils for working with Expressions Client Capable 1.4 Tue Sep 29 14:45:
    53 EDT 2009
    WebLogic Utils for Dynamically Generated Class Wrappers Client Capable 1.4 Fri F
    eb 13 14:44:23 MST 2009
    WebLogic Timers Client Capable 1.7 Thu Feb 18 13:08:44 EST 2010
    WebLogic Work Manager Client Capable 1.10 Thu Feb 17 10:25:54 PST 2011
    WebLogic Workarea Client Capable 1.7 Wed Feb 24 17:18:56 PST 2010
    WebLogic XML XPath Implementation Client Capable 1.4 Mon Feb 22 15:07:14 PST 201
    0
    Weblogic Tuxedo Connector Core Client Capable 1.5 Sat Jul 3 19:05:38 EDT 2010
    WebLogic Security 1.0 Fri Oct 8 10:32:52 EDT 2010
    Weblogic Server Java Authentication Helper Classes Client Capable 1.1 Mon Jul 5
    20:42:35 EDT 2010
    Weblogic Server Message Digest Utilities Client Capable 1.0 Thu Aug 2 12:51:30 E
    DT 2007
    Weblogic Server Authenticated Subject Client Capable 1.1 Thu Oct 28 05:46:37 PDT
    2010
    Weblogic Server Authenticated Subject Client Capable 1.5 Thu Sep 9 10:23:21 MDT
    2010
    PrintingSecurityManager - PSM 1.1 Tue Feb 16 05:30:08 PST 2010
    WebLogic security ssl classes 1.0 Tue Jun 15 17:39:53 EDT 2010
    WebLogic Nodemanager Plugin Client Capable 1.3 Tue Nov 18 18:23:10 EST 2008
    nodemanager module for managed processes 1.0 Thu Apr 8 15:14:38 PDT 2010
    WebLogic JMS Pool Client Capable 1.8 Thu Mar 3 14:11:40 PST 2011
    Contains compiled schema type from WLS 9.0 for WLP compatibility 1.3 Wed Feb 24
    19:15:33 EST 2010
    WebLogic Http Pub/Sub Module Client Capable 1.6 Mon Jul 12 02:31:07 EDT 2010
    Class Redefinition Project 1.5 Mon May 10 19:48:21 EDT 2010
    Class Redefinition Project Client Capable 1.5 Mon Apr 5 17:00:52 PDT 2010
    Class Redefinition Project 1.5 Binding Bundle
    Commonj SDO 1.0 Wed Sep 24 19:11:23 PDT 2008
    WebLogic Coherence Descriptor 1.1 Wed May 5 15:17:47 EDT 2010
    WebLogic Coherence Descriptor 1.1 Binding Bundle
    This module contains all message catalogs 1.1 Fri Dec 17 08:04:35 PST 2010
    WebLogic WebService Public API's 1.1 Tue Sep 21 22:15:05 EDT 2010
    WebLogic EclipseLink Integration 1.0 Thu Feb 25 14:56:43 PST 2010
    WebLogic SCA Client 1.0 Thu Feb 25 00:27:10 EST 2010
    WebLogic RAC Module UCP Client Capable 1.0 Mon Sep 13 09:03:00 PDT 2010
    BEA Patches of apache ant Client Capable 1.2 Wed Jan 13 08:48:17 PST 2010
    Oracle WebLogic Server 10.3.4.0 at 710154 built on: 2010/09/30
    Oracle WebLogic Server 10.3.4.0 at 710154 built on: 2010/09/30
    Oracle WebLogic Server Datatier 10.3.4.0 at 710154 built on: 2010/09/30
    Oracle WebLogic Server 10.3.4.0 at 710154 built on: 2010/09/30
    WebLogic SIPServer Extension API 10.3.4.0 at 709997 built on 2010/09/27
    WebLogic SIPServer Extension API 10.3.4 at 709997 built on 2010/09/27
    WebLogic SIPServer CallState 10.3.4 at 709997 built on 2010/09/27
    Oracle WebLogic Communications SCTP 10.3.1 at 688160 built on 2009/03/11
    ALSB Client 1.3 Mon Apr 12 19:21:38 PDT 2010
    WebLogic WebService Databinding 1.2 Fri Oct 15 06:35:13 PDT 2010
    WebLogic WebService Databinding Plugins 1.2 Fri Oct 15 07:38:46 PDT 2010
    WebLogic SCA Engine 1.2 Mon Aug 16 20:42:39 EDT 2010
    WebLogic WebService Databinding Plugins 1.2 Fri Oct 15 07:38:46 PDT 2010
    WebLogic WebService Databinding 1.2 Fri Oct 15 06:35:13 PDT 2010
    WebLogic SIP Activator 10.3.4 at 710163 built on 2010/09/30
    >
    <21 Apr, 2012 7:33:36 AM IST> <Notice> <WLSS.Engine> <BEA-330065> <SIP server re
    plication is DISABLED>
    <21 Apr, 2012 7:33:36 AM IST> <Notice> <WLSS.Engine> <BEA-330000> <WebLogic SIP
    Server "sipserver" has started.>
    <21 Apr, 2012 7:33:36 AM IST> <Notice> <WLSS.Transport> <BEA-330687> <Thread "SI
    P Message processor (Transport TCP)" is listening on port 5060>
    <21 Apr, 2012 7:33:36 AM IST> <Notice> <WLSS.Transport> <BEA-330687> <Thread "SI
    P Message processor (Transport TCP)" is listening on port 5061>
    <21 Apr, 2012 7:34:40 AM IST> <Error> <WLSS.Setup> <BEA-331210> <Skip SIP relate
    d logic, because error occurs when parsing sip related annotations of "em"
    com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException:
    at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnot
    ationData.java:146)
    at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(Deploym
    entUtil.java:70)
    at com.bea.wcp.sip.util.DeploymentUtil.isSipModule(DeploymentUtil.java:9
    6)
    at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTa
    ilModule.java:127)
    at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(Si
    pServerTailModule.java:112)
    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.defineClassCond(ClassLoader.java:630)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
    1)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericCla
    ssLoader.java:343)
    Truncated. see log file for complete stacktrace
    >
    <21 Apr, 2012 7:35:05 AM IST> <Warning> <J2EE> <BEA-160181> <An error was encoun
    tered and ignored during undeployment. The error was: weblogic.utils.ErrorCollec
    tionException:
    There are 2 nested errors:
    java.lang.OutOfMemoryError: PermGen space
    and
    java.lang.OutOfMemoryError: PermGen space
    weblogic.utils.ErrorCollectionException:
    There are 2 nested errors:
    java.lang.OutOfMemoryError: PermGen space
    and
    java.lang.OutOfMemoryError: PermGen space
    at weblogic.application.utils.StateMachineDriver.previousState(StateMach
    ineDriver.java:227)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:63)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.
    java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.ja
    va:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(Deploym
    entStateChecker.java:161)
    Truncated. see log file for complete stacktrace
    >

    What options have you selected when you set-up WebLogic?
    You can increase the PermSize and MaxPermSize parameters of the JVM to avoid java.lang.OutOfMemoryError: PermGen space.
    These parameters can be set in the setDomainEnv file.

  • Mbean Null  /// PermGen // Manifest.mf  --- Many many errors.

    Hello,
    im setting up, an Liferay 6.1.1 on an WebLogic 11G all based on Linux Redhead.
    At the moment i get this error after 5 hours using Google, it still cant help me with MBean null errors :-/
    My problem: Weblogic installtion was succesfull and without problems.
    I connected Weblogic with the Oracle DB -> no problems.
    I added the liberays needed for Liferay -> no problems.
    I deployed liferay -> first error (time out, its not acitvated but deployed)
    I activated it again (top right corner) -> all perfect
    So i watched the deployment and Weblogic said me its running but i cant connect on it. (Yep i used the right link)
    Then i tried to restart Weblogic - an now i got this mistakes ...
    Has someone hints how i can eliminate this errors?
    best regards,
    Jens
    <JMX> <BEA-149500> <An exception occurred while registering the MBean null.
    java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : com.bea:ServerRuntime=AdminServer,Name=liferay,Type=ApplicationRuntime new:[email protected]a existing [email protected]4
    at weblogic.management.jmx.ObjectNameManagerBase.registerObject(ObjectNameManagerBase.java:168)
    at weblogic.management.mbeanservers.internal.WLSObjectNameManager.lookupObjectName(WLSObjectNameManager.java:131)
    at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:87)
    at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
    at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
    Truncated. see log file for complete stacktrace
    >
    <May 24, 2013 3:36:18 PM CEST> <Error> <JMX> <BEA-149500> <An exception occurred while registering the MBean null.
    java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : com.bea:ServerRuntime=AdminServer,Name=default,ApplicationRuntime=liferay,Type=WorkManagerRuntime new:weblogic.work.WorkManagerRuntimeMBeanImpl@11e5966b existing weblogic.work.WorkManagerRuntimeMBeanImpl@550b98aa
    at weblogic.management.jmx.ObjectNameManagerBase.registerObject(ObjectNameManagerBase.java:168)
    at weblogic.management.mbeanservers.internal.WLSObjectNameManager.lookupObjectName(WLSObjectNameManager.java:131)
    at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:87)
    at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
    at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
    Truncated. see log file for complete stacktrace
    >
    <May 24, 2013 3:36:18 PM CEST> <Error> <JMX> <BEA-149500> <An exception occurred while registering the MBean null.
    java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : com.bea:ServerRuntime=AdminServer,Name=default@liferay@null,WorkManagerRuntime=default,ApplicationRuntime=liferay,Type=RequestClassRuntime new:weblogic.work.RequestClassRuntimeMBeanImpl@77f653fa existing weblogic.work.RequestClassRuntimeMBeanImpl@6c53ec84
    at weblogic.management.jmx.ObjectNameManagerBase.registerObject(ObjectNameManagerBase.java:168)
    at weblogic.management.mbeanservers.internal.WLSObjectNameManager.lookupObjectName(WLSObjectNameManager.java:131)
    at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:87)
    at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
    at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
    Truncated. see log file for complete stacktrace
    >
    May 24, 2013 3:36:32 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
    INFO: Detected server weblogic
    Loading zip:/opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay/3t4tek/war/WEB-INF/lib/portal-impl.jar!/system.properties
    May 24, 2013 3:36:32 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
    INFO: Global shared lib directory /opt/oracle/modules/
    May 24, 2013 3:36:32 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
    INFO: Global lib directory /opt/oracle/user_projects/domains/weblogic/lib/
    May 24, 2013 3:36:32 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
    INFO: Portal lib directory /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay/3t4tek/war/WEB-INF/lib/
    May 24, 2013 3:36:33 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
    INFO: Properties for portal loaded from [file:/opt/oracle/user_projects/domains/portal-ext.properties, zip:/opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay/3t4tek/war/WEB-INF/lib/portal-impl.jar!/portal.properties]
    Loading zip:/opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay/3t4tek/war/WEB-INF/lib/portal-impl.jar!/portal.properties
    Loading file:/opt/oracle/user_projects/domains/portal-ext.properties
    <May 24, 2013 3:37:08 PM CEST> <Warning> <HTTP> <BEA-101342> <liferay: Error(s) encountered while precompiling JSP jspURI
    configuration.jsp:17:18: Error in "init.jsp" at line 249: The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
    <%@ include file="/html/portlet/asset_publisher/init.jsp" %>
    ^--------------------------------------^
    >
    <May 24, 2013 3:37:08 PM CEST> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: javax.crypto, referenced from: /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay/3t4tek/war/WEB-INF/lib/_wl_cls_gen.jar]. Ensure that the referenced optional package has been deployed as a library.>
    15:37:28,951 INFO [[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'][DialectDetector:71] Determine dialect for Oracle 11
    15:37:29,105 INFO [[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'][DialectDetector:136] Found dialect org.hibernate.dialect.Oracle10gDialect
    May 24, 2013 3:37:43 PM net.sf.ehcache.Cache initialise
    WARNING: Cache: com.liferay.portal.service.impl.PortletLocalServiceImpl has a maxElementsInMemory of 0. In Ehcache 2.0 this has been changed to mean a store with no capacity limit. Set it to 1 if you want no elements cached in memory
    May 24, 2013 3:38:31 PM org.quartz.impl.StdSchedulerFactory instantiate
    INFO: Using default implementation for ThreadExecutor
    Exception in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
    <May 24, 2013 3:40:35 PM CEST> <Warning> <HTTP> <BEA-101162> <User defined listener com.liferay.portal.spring.context.PortalContextLoaderListener failed: java.lang.OutOfMemoryError: PermGen space.
    java.lang.OutOfMemoryError: PermGen space
    >
    <May 24, 2013 3:40:38 PM CEST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.OutOfMemoryError: PermGen space.
    java.lang.OutOfMemoryError: PermGen space
    >
    Exception in thread "[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception in thread "[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception in thread "[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'"
    <May 24, 2013 11:03:12 PM CEST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.OutOfMemoryError: PermGen space
    java.lang.OutOfMemoryError: PermGen space
    >
    Exception in thread "[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"

    Hi,
    ok thats it, i found the config file.
    And yes i noticed my deployment and my jdbc connect got the same name :-/
    Damn it im silly :(
    Thanks a lot!
    Jens
    Edited by: 1008097 on 27.05.2013 05:21

  • Upgrading to PT 8.49.14 - PermGen problem with weblogic console

    All Peoplesoft domain Comes you fine in our env setup (Admin, PIA1, and PIA2).
    When we try to bring up the console, we're able to get the initial signon screen.
    We enter the account and password, hit the signon button, and it never comes back.
    The log ends up showing a PermGen error:
    hrdmo@peo1asdv-z1:/psa1asdv/apps/hrdmo/hr890/webserv/hrdmo/servers/WebLo
    gicAdmin/logs> more WebLogicAdmin_stderr.log
    Exception in thread "VDE Replication Thread" java.lang.OutOfMemoryError:
    PermGen space
    Exception in thread "[STANDBY] ExecuteThread: '6' for queue:
    'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError:
    PermGen space
    Exception in thread "[ACTIVE] ExecuteThread: '0' for queue:
    'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError:
    PermGen space
    Exception in thread "[ACTIVE] ExecuteThread: '7' for queue:
    'weblogic.kernel.Default (self-tuning)'" java.lang.OutOfMemoryError:
    PermGen space
    Changed Java heap from Solution:
    from:
    JAVA_OPTIONS_SOLARIS="-server -Xms512m -Xmx512m -XX:MaxPermSize=256m
    -Dtoplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform"
    To:
    JAVA_OPTIONS_SOLARIS="-server -Xms1024m -Xmx1024m -XX:MaxPermSize=256m
    -Dtoplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform"
    Changed the adminserver:
    from:
    JAVA_OPTIONS_ADMINSERVER="-Xms256m -Xmx1024m"
    to:
    JAVA_OPTIONS_ADMINSERVER="-Xms1024m -Xmx1024m"
    still getting PermGen space error, any thoughts?
    Env setup: Solaris 10, WLS 92 MP3 patch1, PTools 849.14
    Thanks

    Increasing PermGen size doesn't solve problem at all. Source of the problem is related with class loader. After you web app is undeployed class loader can not unload all classes from PermGen memory. This leads to extra memory consumption after every undeploy, deploy cycle. Make sure every class can be released and undeployed after undeploy.
    Regards
    Remis B
    Remigijus Bauzys
    Java EE freelancer
    IT Consultant.

  • Problem with PermGen memory (Java) - Tomcat Server - Business Object XI

    We have installed Business Objects XI on a W2003 Standard with SP2 (x86), using Tomcat as web server and MySQL as DBMS. The server has 4 GB of RAM and dual-core processor. From the beginning we have been given the memory problems of the Java virtual machine. The exception that occurs is of type "java.lang.OutOfMemoryError: PermGen space failure". We modify environment variables (JAVA_OPTS) -XX: PermSize = 256m and-XX: MaxPermSize = 512m and install the monitor LambdaProbe to see the use made of memory. We note that at no time was the PermGen memory indicated by these variables, continuing in that has a default 64MB. For this reason we decided to change the Tomcat 5.5 BO included in the version 6.0.20 and also updated Java to version 1.6.0_18-b07, and make deployment by wdeploy.bat file that comes with BusinessObjects (changing config.tomcat55 and tomcat55.xml). The deployment was successful and everything works, but as with the previous version of Java / Tomcat, shortly PermGen memory fills and returns to "hang". In this latest version of Tomcat installed as a service, do not use environment variables, use an application, "Configure Tomcat", which is a tab to pass parameters to the JVM. After looking at many sites, I have seen to be putting "-D" to pass the parameter. Currently this is my configuration:
    -Dcatalina.home = C: \ Program Files \ Apache Software Foundation \ Tomcat 6.0-Dcatalina.base = C: \ Program Files \ Apache Software Foundation \ Tomcat 6.0-Djava.endorsed.dirs = C : \ Program Files \ Apache Software Foundation \ Tomcat 6.0 \ endorsed-Djava.io.tmpdir = C: \ Program Files \ Apache Software Foundation \ Tomcat 6.0 \ temp-Djava.util.logging.manager = org.apache.juli . ClassLoaderLogManager-Djava.util.logging.config.file = C: \ Program Files \ Apache Software Foundation \ Tomcat 6.0 \ conf \ logging.properties-Dcom.sun.management.jmxremote-D-Xms2g-D-Xmx2g-D -XX: + UseConcMarkSweepGC-D-XX:-D PermSize = 256m-XX: MaxPermSize = 512m-Daf.configdir = C: / Program Files / Business Objects / Dashboard and Analytics 12.0-D-verbose: gc-D-XX : + PrintGCTimeStamps-D-XX: + PrintGCDetails
    I tried changing the values of-XX: PermSize and XX: MaxPermSize, and modifying the various policies of the Garbage Collector (-XX: + UseConcMarkSweepGC,-XX: + UseParNewGC,-XX: + UseParallelGC, ...), but nothing. Any idea how to get change the value of the report? Or how to solve this problem?
    Thank you!

    Victor,
    Is the Product you are using BusinessObjects Enterprise XI (Release 1)?
    With XIR2 and XI31, Tomcat 5.0 and Tomcat 5.5 are included with the software, and when installed with the BOE installer, you will get an application installed to the startmenu named "Tomcat Configuration".
    Using this "Tomcat Configuration" utility, there are several configuration options available.  On the JAVA tab, you will see the JAVA_OPTS that are set (These are prefixed with "-D") and also your initial and max memory sizes are listed at the bottom (Max 1024 by default in XI31).
    Here is the default setting for permsize in XI31 Tomcat:
    -XX:MaxPermSize=256M
    From your post, your issue might be the spaces in between your values (there should be no spaces, each "-" parameter on its own line).
    I would suggest starting Tomcat and reviewing your stdout.log file to review what options were set.
    Hope that helps
    -Brian

  • 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

  • Weblogic Server error - OutOfMemoryError: PermGen space

    Dear All,
    For Oracle BPM 11g (Implement the Process Model) implementation on windows
    I am using windows 7 64 Bit OS. I have 
    Installed 10g DB
    Run the RCU Utility for SOAINFRA, ORABAM, SSPDM and MDS schemas successfully.
    Installed Weblogic Server 11gr1(10.3.5)
    Installed Oracle Jdeveloper 11g - 11.1.1.6.0
    Installed SOA 11g  using \Java\jdk1.6.0_24
    From Jdeveloper I installed the extensions for SOA Composite Editor and BPM studio.
    Created Domain for SOA server
    All installations, utitlities and configurations completed successfully.
    After starting the Weblogic Admin. server (server is up and OK)
    The Problem starts here
    When I login to weblogic Admin console I get the following error
    javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space on
    the command prompt window and even on the browser window.
    I am able to trace the problem.  To get the Idea following are some details of
    $MW_HOME/user_projects/domains/soa_domain/bin/setDomainEnv.cmd
    call "%WL_HOME%\common\bin\commEnv.cmd"
    call "%DOMAIN_HOME%\bin\setSOADomainEnv.cmd"
    call "%DOMAIN_HOME%\bin\setSOADomainEnv.cmd"
    set WLS_HOME=%WL_HOME%\server
    set XMS_SUN_64BIT=256
    set XMS_SUN_32BIT=256
    set XMX_SUN_64BIT=512
    set XMX_SUN_32BIT=512
    set XMS_JROCKIT_64BIT=256
    set XMS_JROCKIT_32BIT=256
    set XMX_JROCKIT_64BIT=512
    set XMX_JROCKIT_32BIT=512
    if "%JAVA_VENDOR%"=="Sun" (
        set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx512m
        set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx512m
    ) else (
        set WLS_MEM_ARGS_64BIT=-Xms512m -Xmx512m
        set WLS_MEM_ARGS_32BIT=-Xms512m -Xmx512m
    if "%JAVA_VENDOR%"=="Oracle" (
        set CUSTOM_MEM_ARGS_64BIT=-Xms%XMS_JROCKIT_64BIT%m -Xmx%XMX_JROCKIT_64BIT%m
        set CUSTOM_MEM_ARGS_32BIT=-Xms%XMS_JROCKIT_32BIT%m -Xmx%XMX_JROCKIT_32BIT%m
    ) else (
        set CUSTOM_MEM_ARGS_64BIT=-Xms%XMS_SUN_64BIT%m -Xmx%XMX_SUN_64BIT%m
        set CUSTOM_MEM_ARGS_32BIT=-Xms%XMS_SUN_32BIT%m -Xmx%XMX_SUN_32BIT%m
    set MEM_ARGS_64BIT=%CUSTOM_MEM_ARGS_64BIT%
    set MEM_ARGS_32BIT=%CUSTOM_MEM_ARGS_32BIT%
    if "%JAVA_USE_64BIT%"=="true" (
        set MEM_ARGS=%MEM_ARGS_64BIT%
    ) else (
        set MEM_ARGS=%MEM_ARGS_32BIT%
    set MEM_PERM_SIZE_64BIT=-XX:PermSize=128m
    set MEM_PERM_SIZE_32BIT=-XX:PermSize=128m
    After taking the backup
    I tried  changing the Permsize to 256, 512 and even 1024.
    started the Weblogic Admin server and tried to login, but the same error.
    Details of setSOADomainEnv.cmd
    set JAVA_OPTIONS=%JAVA_OPTIONS%
    set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m
    set PORT_MEM_ARGS=-Xms768m -Xmx1536m
    if "%JAVA_VENDOR%" == "Oracle" goto OracleJVM
    set DEFAULT_MEM_ARGS=%DEFAULT_MEM_ARGS% -XX:PermSize=128m -XX:MaxPermSize=512m
    set PORT_MEM_ARGS=%PORT_MEM_ARGS% -XX:PermSize=256m -XX:MaxPermSize=512m
    what are the recommended values I need to put for Permsize in setDomainEnv.cmd?
    Do I also need to change the values in setSOADomainEnv.cmd ?
    Please correct me where I am wrong. How can the OutOfMemoryError: PermGen space
    issue be resolved ?
    Thanks
    Ajaz Ahmed

    Hi Lakshman,
    Thanks for the prompt resonse.
    1. How many managed servers do you have in your domain ?
    I have only one managed server (soa_server1)
    2. If yes, How you are starting the Managed server ? Is that by Nodemanager or Startscript ?
    Yes. I start the managed server by startscript (using startmanagedweblogic)
    3. Can you check the <managed_server1>.out log file what java heap size is mentioned ?
    I have not reached the managed server startup (though it starts and gives
    the last line as SOA platform is accepting and running the requiests.
    My problem is with weblogic server, which after login I get the Permgen out of memory error.
    4. Can you show us the start up arguements of your each managed server ?
       AdminConsole-->Environments---.Servers--->YourManagedServer--->Configuration (TAB)--->ServerStart (SubTab)---> Arguments:(TextArea)
    I am not able to get the console. Because when I login the weblogic console,
    Immediately I get the  error as
    javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space
    Please clear my doubt as which of the files
    setDomainEnv.cmd or setSOADomainEnv.cmd, I should change the values and
    into which file and which step.
    My priority is weblogic console to be working without any errors. So Far Managed server is OK.
    Thanks
    Ajaz Ahmed

  • 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

  • SQL Developer 3.1 getting PermGen space Error during migrations

    We are using SQL Developer 3.1 to migrate because it is allowing us direct connections to both Sybase and Oracle. While running migration tests I would occasionally receive the following error when running the Convert and/or Move data steps even if run off-line.
    Error: Migration actions have failed. Check the migrations reports for details. : PermGen space.
    I seemed to have solved the error by shutting down and restarting SQL Developer after the completion of each major step. I know 3.1 is Early Adaptor but is this a known issue and is there another solution? Also, 3.1 is having issues with freezing so does anyone know when the next bug fix will be released?
    Thanks

    Hi,
    This looks like a problem with the SQL*Developer Early Adopter release itself so it would be better if you opened a new thread in the SQL*Developer forum -
    SQL Developer
    That is monitored by the developers more than this thread so they are more likely to see it.
    Regards,
    Mikei

  • PermGen with -server option

    Hello all. I have quite a trouble with JVM:
    We're developing a multimodule web application. Modified wars (=modules) are sent from continuous integration server to our development JBoss many times a day - this redeploys modified WAR. The same for clients - we'd like to redeploy single modules without restarting the server.
    Unfortunately after few redeploys we get PermGen space. Server is useless and must be restarted.
    1) When JVM started with -client option I can avoid PermGen space, but from time to time (~1/10 redeploys), I get this:
    Cause: Class 'org.richfaces.renderkit.html.SuggestionBoxRenderer' is missing a runtime dependency: java.lang.NoClassDefFoundError: org/ajax4jsf/renderkit/compiler/ElementBase$1
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:213)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)
    at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
    I need to restart redeploy. After few redeploys this error repeats.
    A bug in JVM or JBoss, or do I need to add some magical command line options for JVM?
    2) With -server option I still have PermGen space, because JVM doesn't call finalize() methods on objects. Finalization queue is big.
    Is there any JVM option for enabling finalization in -server mode (except manual calling System.runFinalization()), or this is a bug in JVM?
    3) According to -XX:+TraceClassUnloading, JVM unloads unused classes only when PermGen memory is full. Lots of unused classes from WEB-INF/lib are kept in memory for long time. Couldn't this unloading be done earlier?
    Any ideas? My JVM version is 1.6.0_10.

    And another thing I don't understand with -server option. Sometimes instead of throwing PermGen, the application is frozen by GC. But even weak references to some objects aren't removed, for example:
    Class Name | Ref. Objects | Shallow Heap | Ref. Shallow Heap | Retained Heap
    class java.lang.reflect.Proxy @ 0x3fd83b8 System Class | 1 | 40 | 120 | 58 504
    '- loaderToCache java.util.WeakHashMap @ 0x8cf8ad8 | 1 | 48 | 120 | 41 312
    '- table java.util.WeakHashMap$Entry[128] @ 0xa2e3fe8 | 1 | 528 | 120 | 41 232
    '- [43] java.util.WeakHashMap$Entry @ 0xa9e0390 | 1 | 40 | 120 | 2 344
    '- referent org.jboss.mx.loading.UnifiedClassLoader3 @ 0xa89a360| 1 | 120 | 120 | 1 636 912
    -----------------------------------------------------------------------------------------------------------------------------------------

  • Inspect objects in PermGen

    Hello I have a problem in PermGen. PermGen grows to limits we don�t want.
    Is there any way to know exactly what objects (classes, intern strings, etc) are in permgen when it is full???
    jmap is too generic.
    Any help?
    Regards in advance
    Rub

    Hello,
    Why don't use use the 'dump' command ?
    For instance, you could call :
    dump ht
    Axelle.

  • Java.lang.OutOfMemoryError and PermGen errors

    We are getting outOfMemoryErrors and cannot find the cause. Does anybody know how to solve this? Every day we get OutOfMemory and PermGen errors, and nobody seems to be able to solve them. This is from our logs:
    <2008-11-18 13:45:04,627> <ERROR> <crps.collaxa.cube.engine.dispatch> <DispatchHelper::handleMessage> failed to handle message
    javax.ejb.EJBException: java.lang.OutOfMemoryError
         at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:317)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.resolveCallback(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.delivery.ResolveCallbackMessageHandler.handle(ResolveCallbackMessageHandler.java:46)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.OutOfMemoryError
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:203)
         at java.util.jar.JarFile.<init>(JarFile.java:132)
         at java.util.jar.JarFile.<init>(JarFile.java:97)
         at oracle.classloader.SharedJar.doOpen(SharedJar.java:208)
         at oracle.classloader.SharedCodeSource.open(SharedCodeSource.java:1136)
         at oracle.classloader.SharedCodeSource.ensureOpen(SharedCodeSource.java:948)
         at oracle.classloader.SharedCodeSource.getResourceBytes(SharedCodeSource.java:967)
         at oracle.classloader.CodeSourceSearchPolicy.findResourceBytes(CodeSourceSearchPolicy.java:57)
         at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1455)
         at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
         at oracle.classloader.SearchPolicy$CheckSharedLibraries.getClass(SearchPolicy.java:396)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at java.sql.DriverManager.getCallerClass(DriverManager.java:442)
         at java.sql.DriverManager.getDrivers(DriverManager.java:336)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:587)
         at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:116)
         at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:75)
         at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
         at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:92)
         at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:211)
         at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:170)
         at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
         at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
         at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
         at oracle.j2ee.connector.ConnectionPoolImpl$FixedWaitPoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1455)
         at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
         at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
         at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
         at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
         at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
         at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:272)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:200)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:142)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:127)
         at com.collaxa.cube.engine.data.ConnectionFactory$ConnectionFactoryImpl.getConnection(ConnectionFactory.java:336)
         at com.collaxa.cube.engine.data.ConnectionFactory.getConnection(ConnectionFactory.java:140)
         at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.__loadCallback(BaseDeliveryPersistenceAdaptor.java:368)
         at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadCallback(BaseDeliveryPersistenceAdaptor.java:247)
         at com.collaxa.cube.engine.data.DeliveryPersistenceMgr.loadCallback(DeliveryPersistenceMgr.java:48)
         at com.collaxa.cube.engine.delivery.DeliveryService.resolveCallback(DeliveryService.java:598)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.resolveCallback(CubeDeliveryBean.java:307)
         at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         ... 28 more
    <2008-11-18 13:45:04,650> <ERROR> <crps.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception java.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:203)
         at java.util.jar.JarFile.<init>(JarFile.java:132)
         at java.util.jar.JarFile.<init>(JarFile.java:97)
         at oracle.classloader.SharedJar.doOpen(SharedJar.java:208)
         at oracle.classloader.SharedCodeSource.open(SharedCodeSource.java:1136)
         at oracle.classloader.SharedCodeSource.ensureOpen(SharedCodeSource.java:948)
         at oracle.classloader.SharedCodeSource.getResourceBytes(SharedCodeSource.java:967)
         at oracle.classloader.CodeSourceSearchPolicy.findResourceBytes(CodeSourceSearchPolicy.java:57)
         at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1455)
         at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
         at oracle.classloader.SearchPolicy$CheckSharedLibraries.getClass(SearchPolicy.java:396)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1050)
         at java.util.ResourceBundle.findBundle(ResourceBundle.java:925)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:762)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:699)
         at com.collaxa.cube.CubeException.getResourceBundle(CubeException.java:142)
         at com.collaxa.cube.engine.dispatch.DispatchException.<clinit>(DispatchException.java:39)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    <2008-11-18 13:45:07,781> <ERROR> <crps.collaxa.cube.engine.dispatch> <DispatchHelper::handleMessage> failed to handle message
    javax.ejb.EJBException: java.lang.OutOfMemoryError
         at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:317)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.resolveCallback(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.delivery.ResolveCallbackMessageHandler.handle(ResolveCallbackMessageHandler.java:46)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.OutOfMemoryError
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:203)
         at java.util.jar.JarFile.<init>(JarFile.java:132)
         at java.util.jar.JarFile.<init>(JarFile.java:97)
         at oracle.classloader.SharedJar.doOpen(SharedJar.java:208)
         at oracle.classloader.SharedCodeSource.open(SharedCodeSource.java:1136)
         at oracle.classloader.SharedCodeSource.ensureOpen(SharedCodeSource.java:948)
         at oracle.classloader.SharedCodeSource.getResourceBytes(SharedCodeSource.java:967)
         at oracle.classloader.CodeSourceSearchPolicy.findResourceBytes(CodeSourceSearchPolicy.java:57)
         at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1455)
         at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
         at oracle.classloader.SearchPolicy$CheckSharedLibraries.getClass(SearchPolicy.java:396)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at java.sql.DriverManager.getCallerClass(DriverManager.java:442)
         at java.sql.DriverManager.getDrivers(DriverManager.java:336)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:587)
         at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:116)
         at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:75)
         at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
         at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:92)
         at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:211)
         at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:170)
         at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
         at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
         at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
         at oracle.j2ee.connector.ConnectionPoolImpl$FixedWaitPoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1455)
         at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
         at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
         at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
         at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
         at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
         at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:272)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:200)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:142)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:127)
         at com.collaxa.cube.engine.data.ConnectionFactory$ConnectionFactoryImpl.getConnection(ConnectionFactory.java:336)
         at com.collaxa.cube.engine.data.ConnectionFactory.getConnection(ConnectionFactory.java:140)
         at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.__loadCallback(BaseDeliveryPersistenceAdaptor.java:368)
         at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadCallback(BaseDeliveryPersistenceAdaptor.java:247)
         at com.collaxa.cube.engine.data.DeliveryPersistenceMgr.loadCallback(DeliveryPersistenceMgr.java:48)
         at com.collaxa.cube.engine.delivery.DeliveryService.resolveCallback(DeliveryService.java:598)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.resolveCallback(CubeDeliveryBean.java:307)
         at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         ... 28 more
    <2008-11-18 13:45:07,782> <ERROR> <crps.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception java.lang.NoClassDefFoundError
    java.lang.NoClassDefFoundError
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)

    Marc Kelderman wrote:
    Make sure you set in heap size correctly.
    I do not know how large the heap size is. But I suggest to increase is.
    Oracle EM -> oc4j_soa -> administrtation -> Server
    set min / max equal to 1GB
    and the -XX:MaxPermSize is 256 M
    Marc
    >Make sure you set in heap size correctly.
    I do not know how large the heap size is. But I suggest to increase is.
    Oracle EM -> oc4j_soa -> administrtation -> Server
    set min / max equal to 1GB
    and the -XX:MaxPermSize is 256 M
    Marc
    Hi Tlwi and Marc,
    Im facing the same error in my environment. This is an Oracle Application Server which hosts a J2EE envionment. The application works fine without any issues, but all of a sudden the following error comes up and stalls the application. I have to restart the conatiner to handle the situation, but this is not the solution.
    Based on my searching it reveals that this error does not mean that the jvm is running out of heap space instead it uses some memory outside the heap to unzip the zip files.
    Can you let me know on the solution that you had applied or what can be done to fix this as i have enough heap space.
    09/03/11 14:58:23.851 APPNAME: Servlet error
    java.lang.OutOfMemoryError
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:203)
         at java.util.jar.JarFile.<init>(JarFile.java:132)
         at java.util.jar.JarFile.<init>(JarFile.java:97)
         at oracle.classloader.SharedJar.doOpen(SharedJar.java:208)
         at oracle.classloader.SharedCodeSource.open(SharedCodeSource.java:1136)
    Thanks,

  • Java.lang.OutOfMemoryError: PermGen space

    <Oct 25, 2011 12:15:53 AM IST> <Error> <netuix> <BEA-423405> <An exception [java.lang.OutOfMemoryError: PermGen space] w
    as thrown while rendering the content at [jsp/changemgmt/ChangeManager.jsp].
    javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
    at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.ja
    va:119)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.OutOfMemoryError: PermGen space
    at sun.misc.Unsafe.defineClass(Native Method)
    at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:63)
    at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:399)
    at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    Truncated. see log file for complete stacktrace
    >
    <Oct 25, 2011 12:15:53 AM IST> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI /jsp/changemg
    mt/ChangeManager.jsp.>
    <Oct 25, 2011 12:16:14 AM IST> <Error> <HTTP> <BEA-101017> <[ServletContext@22272290[app:consoleapp module:console path:
    /console spec-version:2.5]] Root cause of ServletException.
    java.lang.OutOfMemoryError: PermGen space
    >
    <Oct 25, 2011 12:16:15 AM IST> <Error> <HTTP> <BEA-101107> <[ServletContext@22272290[app:consoleapp module:console path:
    /console spec-version:2.5]] Problem occurred while serving the error page.
    java.lang.OutOfMemoryError: PermGen space
    >
    Exception in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '1' fo
    r queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '0' fo
    r queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception in thread "[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '3' fo
    r queue: 'weblogic.kernel.Default (self-tuning)'"
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Environment:
    OS: Windows Vista
    Weblogic 10.3.5
    JDK: java version "1.7.0"
    Java(TM) SE Runtime Environment (build 1.7.0-b147)
    Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
    I created a new domain and when access the Admin console I get the " OutOfMemory " Error
    I revisited the domain creation steps and identified that when selecting the available JDK it shows " JRockit SDK 1.7.0 @ E:\Development\Java\jdk1.7.0"
    But if I do a java-version I get Sun JDK
    java version "1.7.0"
    Java(TM) SE Runtime Environment (build 1.7.0-b147)
    Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
    Start-up Argument
    JAVA Memory arguments: -Xms512m -Xmx512m
    WLS Start Mode=Production
    CLASSPATH=D:\BEA_HOME\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\BEA_HOME\patch_ocp360\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\DEVELO~1\Java\JDK17~1.0\lib\tools.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\weblogic.jar;D:\BEA_HOME\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\webservices.jar;D:\BEA_HOME\modules\ORGAPA~1.1/lib/ant-all.jar;D:\BEA_HOME\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\BEA_HOME\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\xqrl.jar;.;C:\Program Files\Java\jre7\lib\ext\QTJava.zip
    PATH=D:\BEA_HOME\patch_wls1035\profiles\default\native;D:\BEA_HOME\patch_ocp360\profiles\default\native;D:\BEA_HOME\WLSERV~1.3\server\native\win\32;D:\BEA_HOME\WLSERV~1.3\server\bin;D:\BEA_HOME\modules\ORGAPA~1.1\bin;E:\DEVELO~1\Java\JDK17~1.0\jre\bin;E:\DEVELO~1\Java\JDK17~1.0\bin;D:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Program Files\QuickTime\QTSystem\;D:\BEA_HOME\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    Starting WLS with line:
    E:\DEVELO~1\Java\JDK17~1.0\bin\java -Xms512m -Xmx512m -Dweblogic.Name=MyAdmin -Djava.security.policy=D:\BEA_HOME\WLSERV~1.3\server\lib\weblogic.policy -Dweblogic.ProductionModeEnabled=true -da -Dplatform.home=D:\BEA_HOME\WLSERV~1.3 -Dwls.home=D:\BEA_HOME\WLSERV~1.3\server -Dweblogic.home=D:\BEA_HOME\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=D:\BEA_HOME\patch_wls1035\profiles\default\sysext_manifest_classpath;D:\BEA_HOME\patch_ocp360\profiles\default\sysext_manifest_classpath weblogic.Server
    <Oct 25, 2011 12:24:20 AM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Oct 25, 2011 12:24:20 AM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Oct 25, 2011 12:24:21 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 21.0-b17 from Oracle Corporation>
    <Oct 25, 2011 12:24:22 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    Any possible pointers to the issue. Is it a issue with incompatible JDK 1.7 with weblogic 10.3.5.

    I just checked on the Oracle Support site. Oracle WebLogic Server 10.3.5.0.0 is certified with Oracle JDK (1.6.0_24+). There are other JDKs listed but they're all in the Java 6 family, no Java 7.
    Also, Oracle WebLogic Server 12.1.1.0.0 shows as certified with Oracle JDK 1.6.0_29+.
    Of course, this is all as of this writing.
    D

  • OBIEE11g on linux 64bit  installation: java.lang.OutOfMemoryError: PermGen

    Hi All,
    I started installing obiee 11.1.1.5.0 on linux64 bit.
    before this i ran RCU and created schema for obiee.
    I stcuk in very first step where BI configuration say....creating domain ....in progress..0%
    And when i checked log in Oracle/orainventory ..it say:
    java.lang.OutOfMemoryError: PermGen space
         at java.lang.Throwable.getStackTraceElement(Native Method)
         at java.lang.Throwable.getOurStackTrace(Throwable.java:591)
         at java.lang.Throwable.printStackTrace(Throwable.java:462)
         at java.lang.Throwable.printStackTrace(Throwable.java:451)
         at oracle.as.provisioning.engine.WorkFlowExecutor._createDomain(WorkFlowExecutor.java:685)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:391)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         at oracle.as.install.bi.biconfig.standard.StandardWorkFlowExecutor.executeHelper(StandardWorkFlowExecutor.java:31)
         at oracle.as.install.bi.biconfig.standard.DomainProvisioningTask.doExecute(DomainProvisioningTask.java:48)
         at oracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:70)
         at oracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:112)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    [2011-09-17T19:05:25.334+04:00] [as] [TRACE] [] [oracle.as.install.bi] [tid: 34] [ecid: 0000J9rtlhCE0VOayhaeMG1ETBA900000P,0] [SRC_CLASS: oracle.as.install.bi.biconfig.BIConfigMain] [SRC_METHOD: doExecute] PermGen space[[
    java.lang.OutOfMemoryError: PermGen space
    thanks

    Hi,
    If there is no memory leak, then tuning should resolve the issue please check the JDK version it should be
    jdk1.6.0_26 and above vesrion then only weblogic 10.3.4.0/10.3.5.0 will iwork.
    Thanks
    Deva

  • 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

Maybe you are looking for

  • Can't boot into Windows after splitting Mac partition with Disk Utility

    Hi everyone, I installed Windows 8 with BOOTCAMP, creating a large 871 GB partition with a smaller 127 GB partition for Windows. After installing Windows, I then went back to Disk Utility to shrink the Mac partition and add two new partitions, one fo

  • Adding more than 4GB of RAM to a 1.6GHz PPC

    Can I add an additional 2GB RAM to this machine? The DIMM slots are currently full with 4GM RAM but there is room to install 2 more DIMM slots and add the RAM to those. The question is - will the computer recognize the additional RAM? The specs say 4

  • Time Machine Back-Up vs Clone?

    I have been doing some research and have looked into the process of upgrading my hard drive. I have seen several methods, but the two I am having a hard time deciding between are cloning and using the latest back up on Time Machine to load the new ha

  • Can not load duckduckgo ...Mozilla will not allow

    Firefox could not install the search plugin from "https://addons.mozilla.org/firefox/downloads/latest/161972/addon-161972-latest.xml?src=dp-btn-primary" because an engine with the same name already exists. Have duckduckgo addon with Mozilla with home

  • I can't open logic express 9 it keeps going to the demo

    help