facebook

Out of memory…. JVM crash [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #214379 Reply

    javachang
    Member

    recently I got lot crash for myEclipse 3.8.1, I did not install quick fix, because I read the doc for it, and I don’t think I need it. most of time the crash happened when I do “add import automaticly”, “open file”… normal event.
    I have a log file (15M) for all of crash and hang, but I don’t know how to give it to you, I know it is important for you. this is part of log
    !ENTRY org.eclipse.osgi Sep 02, 2004 11:37:45.157
    !MESSAGE Error while stopping “org.eclipse.jdt.core_3.0.0”.
    !STACK 0
    org.osgi.framework.BundleException: Exception in org.eclipse.jdt.core.JavaCore.stop() of bundle org.eclipse.jdt.core.
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1010)
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:502)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.stop(AbstractBundle.java:437)
    at org.eclipse.core.runtime.adaptor.BundleStopper.basicStopBundles(BundleStopper.java:75)
    at org.eclipse.core.runtime.adaptor.BundleStopper.stopBundles(BundleStopper.java:62)
    at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStopping(EclipseAdaptor.java:551)
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:457)
    at org.eclipse.osgi.framework.internal.core.SystemBundle$1.run(SystemBundle.java:182)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: java.lang.NullPointerException
    at org.eclipse.jdt.internal.core.search.processing.JobManager.discardJobs(JobManager.java:110)
    at org.eclipse.jdt.internal.core.search.processing.JobManager.shutdown(JobManager.java:407)
    at org.eclipse.jdt.internal.core.JavaModelManager.shutdown(JavaModelManager.java:1833)
    at org.eclipse.jdt.core.JavaCore.stop(JavaCore.java:3601)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:990)
    … 8 more
    Root exception:
    java.lang.NullPointerException
    at org.eclipse.jdt.internal.core.search.processing.JobManager.discardJobs(JobManager.java:110)
    at org.eclipse.jdt.internal.core.search.processing.JobManager.shutdown(JobManager.java:407)
    at org.eclipse.jdt.internal.core.JavaModelManager.shutdown(JavaModelManager.java:1833)
    at org.eclipse.jdt.core.JavaCore.stop(JavaCore.java:3601)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:990)
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:502)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.stop(AbstractBundle.java:437)
    at org.eclipse.core.runtime.adaptor.BundleStopper.basicStopBundles(BundleStopper.java:75)
    at org.eclipse.core.runtime.adaptor.BundleStopper.stopBundles(BundleStopper.java:62)
    at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStopping(EclipseAdaptor.java:551)
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:457)
    at org.eclipse.osgi.framework.internal.core.SystemBundle$1.run(SystemBundle.java:182)
    at java.lang.Thread.run(Thread.java:536)

    #214432 Reply

    Riyad Kalla
    Member

    I don’t see any genuitec stuff in that stack trace… what is your Build ID of Eclipse (Help > About) and MyEclipse (Window > Prefs > MyEclipse)? Are you on Windows or Linux? What JDK?

    #214529 Reply

    javachang
    Member

    eclipse 3.0.0, ID:200406251208
    myEclipse 3.8.1, ID: 200408201200-3.8.1
    OS:Window XP professional

    #214535 Reply

    Riyad Kalla
    Member

    What is your arguments for launching Eclipse? Eclipse 3 needs a lot more memory than Eclipse 2.1, especially with ME installed (~130 plugins). We suggest adding:
    -vmargs -Xmx256m

    for good measure.

    #215319 Reply

    Chris_Q
    Member

    I use Eclipse Version: 3.1.0
    Build id: 200408122000

    I always get this problem when adding an import. Even using
    -vmargs -Xmx768m

    does not help

    The logfile has:

    !SESSION Sep 16, 2004 10:54:55.958 ———————————————
    eclipse.buildId=I200408122000
    java.version=1.4.1_03
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB

    !ENTRY org.eclipse.jdt.core 4 4 Sep 16, 2004 10:54:55.958
    !MESSAGE Background Indexer Crash Recovery
    !STACK 0
    java.lang.OutOfMemoryError

    #215347 Reply

    Riyad Kalla
    Member

    I think this must be an Eclipse issue… 1) this happens when you do imports, this has nothing to do with ME, 2) your using Eclipse 3.1.0 which is still under development (albeit pretty stable though) and 3) your stack trace only points to eclipse.jdt.core plugins, not ME plugins.

    I’m going to close this thread because its not ME related, BUT if any users have any ideas for Chris please post followups. I personally don’t know why 768m is not enough memory to add an import 😉

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Out of memory…. JVM crash [Closed]

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