facebook

Mac: Perm Gen errors

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #279938 Reply

    jccartwright
    Member

    Hello,

    I’m frequently getting the error “less than 5% of the 64MB of Perm Gen (Non-heap memory) space remains”

    This is spite of the fact that I’ve increased the memory parameters in the eclipse.ini :

    -showsplash
    org.eclipse.platform
    –launcher.XXMaxPermSize 256m
    -vmargs
    -Xdock:icon=../Resources/Eclipse.icns
    -XstartOnFirstThread
    -Dosgi.requiredJavaVersion=1.5
    -Xms256m
    -Xmx768m
    -XX:PermSize=128m
    -XXMaxPermSize=256m

    Below is an excerpt from the configuration detail.

    Can you please help me with this?

    Thanks!

    -john

    *** Date: Friday, December 21, 2007 7:15:33 PM MT

    *** Platform Details:

    *** System properties:
    awt.nativeDoubleBuffering=true
    awt.toolkit=apple.awt.CToolkit
    birt.viewer.working.path=/Users/jcc/Documents/workspaces/myeclipse-6.0.1/.metadata/.plugins/org.eclipse.birt.report.viewer
    eclipse.buildId=M20070921-1145
    eclipse.commands=-os
    macosx
    -ws
    carbon
    -arch
    x86
    -showsplash
    -launcher
    /usr/local/eclipse/Eclipse.app/Contents/MacOS/eclipse
    -name
    Eclipse
    –launcher.library
    /usr/local/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.1.R33x_v20070828/eclipse_1020.so
    -startup
    /usr/local/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
    -keyring
    /Users/jcc/.eclipse_keyring
    -consoleLog
    -showlocation
    -vm
    /System/Library/Frameworks/JavaVM.framework
    eclipse.consoleLog=true
    eclipse.ee.install.verify=false
    eclipse.product=org.eclipse.platform.ide
    eclipse.startTime=1198213149522
    eclipse.vm=/System/Library/Frameworks/JavaVM.framework
    eclipse.vmargs=-Xdock:icon=../Resources/Eclipse.icns
    -XstartOnFirstThread
    -Dosgi.requiredJavaVersion=1.5
    -Xms256m
    -Xmx768m
    -XX:PermSize=128m -XXMaxPermSize=256m
    -Djava.class.path=/usr/local/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
    eof=eof
    file.encoding=MacRoman
    file.encoding.pkg=sun.io
    file.separator=/
    gopherProxySet=false
    java.awt.graphicsenv=apple.awt.CGraphicsEnvironment
    java.awt.printerjob=apple.awt.CPrinterJob
    java.class.path=/usr/local/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
    java.class.version=49.0
    java.endorsed.dirs=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed
    java.ext.dirs=/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext
    java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
    java.io.tmpdir=/tmp
    java.library.path=.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
    java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version=1.5.0_13-b05-237
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.5
    java.vendor=Apple Inc.
    java.vendor.url=http://www.apple.com/
    java.vendor.url.bug=http://bugreport.apple.com/
    java.version=1.5.0_13
    java.vm.info=mixed mode
    java.vm.name=Java HotSpot(TM) Client VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=Apple Inc.
    java.vm.version=1.5.0_13-119
    line.separator=

    mrj.version=1040.1.5.0_13-237
    org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
    org.apache.commons.logging.simplelog.log.httpclient.wire.header=off
    org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient=off
    org.eclipse.equinox.launcher.splash.location=/usr/local/eclipse/plugins/org.eclipse.platform_3.3.1.M20070725/splash.bmp
    org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5
    org.osgi.framework.language=en
    org.osgi.framework.os.name=MacOSX
    org.osgi.framework.os.version=10.5.1
    org.osgi.framework.processor=i386
    org.osgi.framework.system.packages=javax.accessibility,javax.activity,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,javax.xml.validation,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.events,org.w3c.dom.ls,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
    org.osgi.framework.vendor=Eclipse
    org.osgi.framework.version=1.4.0
    org.osgi.supports.framework.extension=true
    org.osgi.supports.framework.fragment=true
    org.osgi.supports.framework.requirebundle=true
    os.arch=i386
    os.name=Mac OS X
    os.version=10.5.1
    osgi.arch=x86

    #279966 Reply

    Loyal Water
    Member

    John,
    Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    #280050 Reply

    janner
    Member

    last parameter should be:
    -XX:MaxPermSize=256m
    note the ‘:’ after -XX

    #280080 Reply

    Loyal Water
    Member

    janner – nice catch.

    jccartwright – did that help ?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Mac: Perm Gen errors

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