PermGen space error

What doe this error means. im running WS7 with 39 virtual servers with uwc (comm express 6.3)?
Error:
[26/Jun/2007:09:53:40] failure (27174): CORE4007: Internal error: Unexpected Java exception thrown (java.lang.OutOfMemoryError: PermGen space, PermGen space), stack: java.lang.OutOfMemoryError: PermGen space
[26/Jun/2007:10:02:37] failure (27174): CORE4007: Internal error: Unexpected Java exception thrown (java.lang.OutOfMemoryError: PermGen space, PermGen space), stack: java.lang.OutOfMemoryError: PermGen space

Hi
What is your java heapsize (in server.xml)? If you increase the size to a bigger one, e.g 512M, you still see this problem.
There maybe have some memory leak problem in you application.
See following blog to get more idea.
http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java
Please increase you java heap size

Similar Messages

  • Java.lang.OutOfMemoryError:PermGen space error

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

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

  • 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

  • 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 space Error in Weblogic Server

    Hi,
    I am facing problem with Premgen space; java.lang.outofMemory+, while deploying (Importing the jar file in the server) my service in the Server, I need to restart the Server each and every time due to this problem.
    I am currently using Weblogic 10gR3(10.3). My deployment jar contains about 4000 classes, as java code in the jar cannot able to detect the necessary classes from the server library and even from the Java lib present in the Weblogic tool.
    i am in need of immediate solution.

    What are the values you have used?
    In my case I have set the values to PermSize=512m and MaxPermSize=1024m
    Try increasing values but be careful when you are increasing these values.

  • Java.lang.OutOfMemoryError: PermGen space error in weblogic

    I am contionusly getting above error while starting one of my managed server.
    I had set setDomainEnv.cmd as below.
    if "%JAVA_VENDOR%"=="Sun" (
    set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx512m -XX:MaxPermSize=256m
    set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx512m -XX:MaxPermSize=256m
    ) else (
    set WLS_MEM_ARGS_64BIT=-Xms512m -Xmx512m
    set WLS_MEM_ARGS_32BIT=-Xms512m -Xmx512m
    set MEM_PERM_SIZE_64BIT=-XX:PermSize=256m
    set MEM_PERM_SIZE_32BIT=-XX:PermSize=256m
    I tried with 128m also but same error

    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

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

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

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

  • 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

  • Error 500--Internal Server Error  java.lang.OutOfMemoryError: PermGen space

    I use Jdeveloper 11g to create and run simple ADF application.
    However, it always shows the error of java.lang.OutOfMemoryError.
    I have to restart Jdeveloper.
    Could anyone tell me how to avoid this problem?
    Error 500--Internal Server Error
    java.lang.OutOfMemoryError: PermGen space
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:335)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:288)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:335)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:288)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:335)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:288)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

    Hello,
    This is fixed now,
    1. cleared the classpath in the environment variables(my computer) ,
    2. uninstalled jdev and weblogic,
    3. deleted the oracle/middleware folder
    4. searched under registry entries as middleware and deleted all of them,
    5. rebooted and reinstalled, worked...
    Thanks for your inputs...............

  • 500 Internal Server Error PermGen space

    Almost every time I redeploy my application, I get a
    500 Internal Server Error
    java.lang.OutOfMemoryError: PermGen space
    response from the application server. To recover, I have to restart the application server. Any ideas on how to prevent this error?
    thanks,
    chas

    I should add some more helpful information, maybe :)
    I get the permgen OutOfMemory while redeploying an app, most commonly. Since there's no lifecycle event when an application is stopped, as far as I know, our singletons are never cleaned up from the old classloader. So it's quite possible the garbage collector or classloader are holding onto stale references to objects or classes from the now stopped and un-deployed application. I know our apps create a lot of objects under those singletons.
    Maybe this is the key to fixing the error? I have noticed 10.1.3 gives helpful-looking warnings on standard error:
    07/01/19 15:03:54 com.example.propmgr.PropertyManagerException: An Exception has occured while loading the following
    file: timeout.propertiesClassLoader "gm.root:0.0.0" (from <application> in /C:/oc4j101310/j2ee/gm/applications/gm/): This
    loader has been closed and should not be in use.

  • What happens when you  get a "PermGen space null" error?

    We have resently installd CF 10 64 bit om three new windows 2008 R2 servers.
    One of them keeps generating an error "PermGen Space null" when processing CF script files.
    There is nothing special about the scripts resulting in error
    we have tried to increse Maxpermsize from 192m to 768m but that had no effect.
    the other two servers seems to bee doing fine.
    Any ideas what to do?

    Sorry no but here is some info anyway,
    We increased MaxPermSize from 192 to 512
    We also increased min and max JVM Heap size to 768 and 2048 respectively.
    Since then I think we have not experienced this problem more than once.
    We also have one server with the default parameters and it seems to work fine.
    I believe that size, and number of simultaneous request/responses have an impact  on this.
    We will now install the latest updates and after that decide whether to start logging jvm activities or not.
    Best regards
    Lennart
    Från: Neo Rye [email protected]
    Skickat: den 28 november 2012 06:44
    Till: Lennart Risfelt
    Ämne: what happens when you  get a "PermGen space null" error?
    Re: what happens when you get a "PermGen space null" error?
    created by Neo Rye<http://forums.adobe.com/people/Neo+Rye> in ColdFusion - View the full discussion<http://forums.adobe.com/message/4879436#4879436

  • Embedded OC4J Error : java.lang.OutOfMemoryError: PermGen space

    Hi all,
    When testing apps using embbed OC4J I experience the java.lang.OutOfMemoryError: PermGen space.
    If occur on OAS, I add :add -X:MaxPermSize=256m to the startup java options on opmn.xml, and problem solved.
    How can I set the startup jaav option for embedded OC4J ?
    Thank you,
    xtanto

    hi xtanto
    To set system properties for the embedded OC4J you could try "Project Properties" > "Run/Debug" > "Edit..." some "Run Configuration" and add your property to "Java Options" on the "Launch Settings" panel.
    success
    Jan Vervecken

  • 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

  • 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

  • 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

Maybe you are looking for