facebook

MyEclipse 7 constantly running out of memory

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 14 posts - 16 through 29 (of 29 total)
  • Author
    Posts
  • #294040 Reply

    mmogley
    Member

    I’m encountering the same issue. My workspace has 12 projects. My setup is Eclipse 3.4 / MyEclipse 7 (installed using Eclipse Update – not All-In-One). Windows Vista Home Premium 32-bit, 4GB memory, Core2 Duo T9400. I’m using the same recommended Eclipse startup settings.

    Michael

    #294093 Reply

    Loyal Water
    Member

    Michael,
    Can you turn on the heap space monitor (it’s under Window > Prefs > General) and restart and watch the monitor and see what operations cause it to spike. That will help us in resolving this issue.

    #294100 Reply

    mmogley
    Member

    Ok, I’ll try this.

    #294119 Reply

    Loyal Water
    Member

    Thank you.

    #294128 Reply

    mmogley
    Member

    The operations that cause it to spike appear to be ‘build projects” and ‘deploy web project’. May not be limited to these.

    #294240 Reply

    jasper.floor
    Member

    I have noticed that memory spikes tend to happen with SVN operations.

    #294257 Reply

    I have found that the Memory spikes occur during the project build process and seem to be specifically related to the code validation (Java, JSP, javascript, etc) processing. I have had to turn off the automatic build process to keep the low memory messages from occurring all the time so I can code. I manually initiate the ‘build project’ process which causes the low memory messages. I usually have to re-start ME and run ‘build project’ when necessary to get the build to run to completion without stalling…which is a pain. This is with just one large project open.

    #294278 Reply

    As further information, following is trace from the log file during the ‘build project’ process with the 64-bit version running on Fedora 10. In some cases ME locks up and I do not even get a low memory message.

    !SESSION 2009-02-02 15:11:21.613 ———————————————–
    eclipse.buildId=unknown
    java.version=1.5.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
    Command-line arguments: -os linux -ws gtk -arch x86_64 -clean

    !ENTRY org.eclipse.wst.validation 4 0 2009-02-03 08:35:23.078
    !MESSAGE Marker id 65730 not found.
    !STACK 1
    org.eclipse.core.internal.resources.ResourceException: Marker id 65730 not found.
    at org.eclipse.core.internal.resources.Marker.checkInfo(Marker.java:56)
    at org.eclipse.core.internal.resources.Marker.getAttribute(Marker.java:97)
    at org.eclipse.wst.validation.internal.TaskListUtility.getValidationTasks(TaskListUtility.java:350)
    at org.eclipse.wst.validation.internal.TaskListUtility.removeTaskSubset(TaskListUtility.java:426)
    at org.eclipse.wst.validation.internal.TaskListUtility.removeTaskSubset(TaskListUtility.java:414)
    at org.eclipse.wst.validation.internal.operations.WorkbenchReporter.removeMessageSubset(WorkbenchReporter.java:184)
    at org.eclipse.wst.validation.internal.operations.WorkbenchReporter.removeMessageSubset(WorkbenchReporter.java:179)
    at org.eclipse.wst.validation.internal.InternalValidatorManager.removeOperationTasks(InternalValidatorManager.java:99)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.removeOldMessages(ValidationOperation.java:1016)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.internalValidate(ValidationOperation.java:955)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.validate(ValidationOperation.java:870)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.run(ValidationOperation.java:614)
    at org.eclipse.wst.validation.internal.operations.ValidationBuilder.performFullBuild(ValidationBuilder.java:209)
    at org.eclipse.wst.validation.internal.operations.ValidationBuilder.performFullBuild(ValidationBuilder.java:201)
    at org.eclipse.wst.validation.internal.operations.ValidationBuilder.build(ValidationBuilder.java:162)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
    at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:330)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:736)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:614)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:880)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1083)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    !SUBENTRY 1 org.eclipse.core.resources 4 376 2009-02-03 08:35:23.081
    !MESSAGE Marker id 65730 not found.

    !ENTRY org.eclipse.wst.validation 4 0 2009-02-03 08:35:23.098
    !MESSAGE Marker id 65598 not found.
    !STACK 1
    org.eclipse.core.internal.resources.ResourceException: Marker id 65598 not found.
    at org.eclipse.core.internal.resources.Marker.checkInfo(Marker.java:56)
    at org.eclipse.core.internal.resources.Marker.getAttribute(Marker.java:97)
    at org.eclipse.wst.validation.internal.TaskListUtility.getValidationTasks(TaskListUtility.java:245)
    at org.eclipse.wst.validation.internal.TaskListUtility.getValidationTasks(TaskListUtility.java:286)
    at org.eclipse.wst.validation.internal.TaskListUtility.getValidationTasks(TaskListUtility.java:333)
    at org.eclipse.wst.validation.internal.TaskListUtility.removeTaskSubset(TaskListUtility.java:426)
    at org.eclipse.wst.validation.internal.TaskListUtility.removeAllTasks(TaskListUtility.java:406)
    at org.eclipse.wst.validation.internal.TaskListUtility.removeAllTasks(TaskListUtility.java:402)
    at org.eclipse.wst.validation.internal.operations.WorkbenchReporter.removeAllMessages(WorkbenchReporter.java:164)
    at org.eclipse.wst.validation.internal.operations.WorkbenchReporter.removeAllMessages(WorkbenchReporter.java:544)
    at org.eclipse.wst.validation.internal.operations.WorkbenchReporter.removeAllMessages(WorkbenchReporter.java:509)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.removeOldMessages(ValidationOperation.java:1027)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.internalValidate(ValidationOperation.java:955)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.validate(ValidationOperation.java:870)
    at org.eclipse.wst.validation.internal.operations.ValidationOperation.run(ValidationOperation.java:614)
    at org.eclipse.wst.validation.internal.operations.ValidationBuilder.performFullBuild(ValidationBuilder.java:209)
    at org.eclipse.wst.validation.internal.operations.ValidationBuilder.performFullBuild(ValidationBuilder.java:201)
    at org.eclipse.wst.validation.internal.operations.ValidationBuilder.build(ValidationBuilder.java:162)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:633)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
    at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:330)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:736)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:614)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:880)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1083)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    !SUBENTRY 1 org.eclipse.core.resources 4 376 2009-02-03 08:35:23.099
    !MESSAGE Marker id 65598 not found.

    !ENTRY org.eclipse.ui 4 0 2009-02-03 08:49:39.468
    !MESSAGE Unhandled event loop exception
    !STACK 0
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.InternalError)
    at org.eclipse.swt.SWT.error(SWT.java:3777)
    at org.eclipse.swt.SWT.error(SWT.java:3695)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3378)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3036)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
    at com.genuitec.pulse2.client.targetcfg.ui.jobs.AbstractLauncherFlowHandler.execute(Unknown Source)
    at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
    at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
    at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
    at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)
    at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:619)
    at org.eclipse.ui.menus.CommandContributionItem.access$10(CommandContributionItem.java:605)
    at org.eclipse.ui.menus.CommandContributionItem$4.handleEvent(CommandContributionItem.java:595)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
    Caused by: java.lang.InternalError
    at java.util.zip.Deflater.init(Native Method)
    at java.util.zip.Deflater.<init>(Unknown Source)
    at java.util.zip.Deflater.<init>(Unknown Source)
    at com.sun.imageio.plugins.png.IDATOutputStream.<init>(Unknown Source)
    at com.sun.imageio.plugins.png.PNGImageWriter.write_IDAT(Unknown Source)
    at com.sun.imageio.plugins.png.PNGImageWriter.write(Unknown Source)
    at javax.imageio.ImageWriter.write(Unknown Source)
    at javax.imageio.ImageIO.write(Unknown Source)
    at javax.imageio.ImageIO.write(Unknown Source)
    at com.genuitec.pulse2.client.launcher.ui.providers.BlueprintSoftwareLabelProvider.createScaled(Unknown Source)
    at com.genuitec.pulse2.client.launcher.ui.providers.BlueprintSoftwareLabelProvider.getScaled(Unknown Source)
    at com.genuitec.pulse2.client.launcher.ui.providers.BlueprintSoftwareLabelProvider.getImage(Unknown Source)
    at org.eclipse.jface.viewers.WrappedViewerLabelProvider.getImage(WrappedViewerLabelProvider.java:117)
    at org.eclipse.jface.viewers.WrappedViewerLabelProvider.update(WrappedViewerLabelProvider.java:165)
    at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:145)
    at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:932)
    at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:102)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.runtime.Platform.run(Platform.java:880)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1012)
    at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:466)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.runtime.Platform.run(Platform.java:880)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2041)
    at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2675)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1856)
    at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:711)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1863)
    at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:711)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1831)
    at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1787)
    at org.eclipse.jface.viewers.StructuredViewer$8.run(StructuredViewer.java:1457)
    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1365)
    at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:397)
    at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1328)
    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1455)
    at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:548)
    at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1412)
    at com.genuitec.pulse2.client.launcher.ui.providers.InstallableUnitLazyLoader$1.run(Unknown Source)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
    … 38 more

    #294302 Reply

    Loyal Water
    Member

    Guys,
    Thank you for the additional information. We are looking into this issue.

    #294405 Reply

    jasper.floor
    Member

    I can confirm the spikes on building a job. There are at least 2 other people at my company who have this problem and have turned off auto-build.

    #294425 Reply

    Loyal Water
    Member

    I can confirm the spikes on building a job. There are at least 2 other people at my company who have this problem and have turned off auto-build.

    I’ll add this note to the PR that I have filed. Thank you.

    #294482 Reply

    jasper.floor
    Member

    The following may help:
    -vmargs
    -Xms512m
    -Xmx2048m
    -Xverify:none
    -XX:+UseConcMarkSweepGC
    -XX:+CMSIncrementalMode
    -XX:CMSInitiatingOccupancyFraction=80
    -XX:PermSize=128M
    -XX:MaxPermSize=256M

    A colleague of mine worked this out and it does seem to help. It’s a bit of a workaround but it seems to help.

    #294509 Reply

    Loyal Water
    Member

    Thank you for posting this information.

    #305128 Reply

    rcoe67
    Member

    This message has not been recovered.

Viewing 14 posts - 16 through 29 (of 29 total)
Reply To: MyEclipse 7 constantly running out of memory

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