facebook

java.lang.OutOfMemoryError: PermGen space

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #280661 Reply

    Hello,

    I am trying to set up WebLogic Server 10 and deploy an application to it. It appears that all is fine and my WLS 10 is up and running. However, when I try to deploy or view my web application I get the following:

    Error 500–Internal Server Error
    java.lang.OutOfMemoryError: PermGen space

    I have done some searching of the forums here and saw some dicussions on editing my start command. I set it to the following:

    “C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe” -vm “C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe” -vmargs -Xms128M -Xmx256M -XX:MaxPermSize=128M

    However, I continue to get the same error. Any Ideas?

    Thanks,
    Dan

    *** Date:
    Monday, January 14, 2008 11:06:46 AM EST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.0 GA
    Build id: 6.0.0-GA-200708

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.0.0 GA
    Build id: 6.0.0-GA-200708

    Eclipse Graphical Editing Framework

    Version: 3.3.0.v20070620
    Build id: 20070620-1021

    Eclipse Platform

    Version: 3.3.0.v20070612-_19UEkLEzwsdF9jSqQ-G
    Build id: I20070625-1500

    Eclipse RCP

    Version: 3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG
    Build id: I20070625-1500

    Eclipse Java Development Tools

    Version: 3.3.0.v20070606-0010-7o7jCHEFpPoqQYvnXqejeR
    Build id: I20070625-1500

    Eclipse Plug-in Development Environment

    Version: 3.3.0.v20070607-7N7M-DUUEF6Ez0H46IcCC
    Build id: I20070625-1500

    Eclipse Project SDK

    Version: 3.3.0.v20070607-7M7J-BIolz-OcxWxvWAPSfLPqevO
    Build id: I20070625-1500

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.0.v20070523\eclipse_1017a.dll
    -startup
    C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070606.jar
    -exitdata
    88c_68
    -vm
    C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe

    #280668 Reply

    Loyal Water
    Member

    Under you Weblogic connector, you have to increase the size of the PermGen in Sun’s jdk using -XX:MaxPermSize, see http://java.sun.com/docs/hotspot/VMOptions.html

    This has to added in your optional Java VM argument text box.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: java.lang.OutOfMemoryError: PermGen space

You must be logged in to post in the forum log in