facebook

MyEclipse 5.1 & macbookpro 64bit (out of memory?)

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

    arnor
    Member

    Hi to all,

    I bought a macbookpro with intel 64bit and 2GB ram.
    I hava a lot of problem with MyEclipse
    I use
    Version: 5.1.0 GA
    Build id: 20061111-5.1.0-GA

    installed on eclipse 3.2 and jvm 1.5 or jvm 1.6

    I get often a warning about memory usage and after that eclipse can crash.

    my eclipse.ini:
    -vmargs
    -Xdock:icon=../Resources/Eclipse.icns
    -XstartOnFirstThread
    -Xbootclasspath/p:../../../plugins/org.eclipse.jdt.debug_3.2.1.r321_v20060731/jdi.jar
    -Xms256m
    -Xmx1024m
    -Dorg.eclipse.swt.internal.carbon.smallFonts
    -Dorg.eclipse.swt.internal.carbon.noFocusRing
    -Dapple.awt.graphics.UseQuartz=true

    some example from my .log:
    !MESSAGE An internal error occurred during: “Processing Dirty Regions”.
    !STACK 0
    java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:662)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:160)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:498)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:468)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:427)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:361)
    at org.apache.xerces.impl.xs.models.CMBuilder.<clinit>(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.<init>(Unknown Source)
    at org.apache.xerces.parsers.StandardParserConfiguration.configurePipeline(Unknown Source)
    at org.apache.xerces.parsers.DTDConfiguration.reset(Unknown Source)
    at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
    at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.eclipse.wst.xml.core.internal.validation.XMLValidator.validate(XMLValidator.java:276)
    at org.eclipse.wst.xml.core.internal.validation.eclipse.Validator.validate(Validator.java:70)
    at org.eclipse.wst.xml.core.internal.validation.core.AbstractNestedValidator.validate(AbstractNestedValidator.java:245)
    at org.eclipse.wst.xml.core.internal.validation.core.AbstractNestedValidator.validateInJob(AbstractNestedValidator.java:89)
    at org.eclipse.wst.xml.ui.internal.validation.DelegatingSourceValidator.validate(DelegatingSourceValidator.java:211)
    at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:277)
    at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:243)
    at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:96)
    at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:207)
    at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:193)

    !ENTRY org.eclipse.ui 4 4 2006-12-17 16:11:04.515
    !MESSAGE Unhandled event loop exception

    !ENTRY org.eclipse.ui 4 0 2006-12-17 16:11:04.516
    !MESSAGE PermGen space
    !STACK 0
    java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:662)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:160)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:498)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:468)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:427)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:361)
    at org.apache.xerces.impl.xs.models.CMBuilder.<clinit>(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.<init>(Unknown Source)
    at org.apache.xerces.parsers.StandardParserConfiguration.configurePipeline(Unknown Source)
    at org.apache.xerces.parsers.DTDConfiguration.reset(Unknown Source)
    at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
    at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.eclipse.wst.xml.core.internal.validation.XMLValidator.validate(XMLValidator.java:276)
    at org.eclipse.wst.xml.core.internal.validation.eclipse.Validator.validate(Validator.java:70)
    at org.eclipse.wst.xml.core.internal.validation.core.AbstractNestedValidator.validate(AbstractNestedValidator.java:245)
    at org.eclipse.wst.xml.core.internal.validation.core.AbstractNestedValidator.validateInJob(AbstractNestedValidator.java:89)
    at org.eclipse.wst.xml.ui.internal.validation.DelegatingSourceValidator.validate(DelegatingSourceValidator.java:211)
    at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:277)
    at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:243)
    at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:96)
    at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:207)
    at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:193)

    !ENTRY org.eclipse.core.jobs 4 2 2006-12-17 16:11:06.529
    !MESSAGE An internal error occurred during: “loading file:/Applications/MyEclipse Enterprise Workbench 5.1.0 GA/eclipse/plugins/com.genuitec.org.s
    pringframework.ide.eclipse.beans.ui.editor_5.1.0/dtds/spring-beans.dtd”.

    I have the same problem with two macbookpro(twins). am I alone or other people have the same problems?

    regards Lorenzo Sicilia

    #263631 Reply

    Greg
    Member

    Unfortunately to my knowledge that is no way to increase the PermGen size on a Apple JVM. With the Sun JDK you can use the

    -vmargs -XX:MaxPermSize=128M

    However, to my knowledge the Apply JVM has no such argument. If anyone knows this not to be the case, please let us know. It would be great to know how to increase the permgen size on apple jvm for all MyEclipse users on Mac.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: MyEclipse 5.1 & macbookpro 64bit (out of memory?)

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