title: Increase memory allocated to jdk
body: <p>My eclipse is pointing to a jdk. I am using GWT. sometimes my eclipse is crashing with the following error, can someone help<img src="https://i.stack.imgur.com/1y9sy.jpg" alt="enter image description here"></p>
  
  <p>i'm getting a new error when Xmx2000m
  <img src="https://i.stack.imgur.com/tL1YA.jpg" alt="enter image description here"></p>
  
  <p>these are some of the last lines of the error log</p>
  
  <pre><code>!ENTRY org.eclipse.ui 4 4 2011-02-05 05:56:06.306
  !MESSAGE Plug-in 'org.eclipse.papyrus.diagram.common' contributed an invalid Menu Extension (Path: 'diagramMenu/filtersMenu' is invalid): org.eclipse.papyrus.diagram.common.myShowHideCompartmentAction
  
  !ENTRY org.eclipse.ui 4 4 2011-02-05 05:56:06.331
  !MESSAGE Plug-in 'org.eclipse.papyrus.diagram.common' contributed an invalid Menu Extension (Path: 'diagramMenu/filtersMenu' is invalid): org.eclipse.papyrus.diagram.common.myShowHideContentsAction
  !SESSION 2011-02-05 05:57:13.577 -----------------------------------------------
  eclipse.buildId=M20100909-0800
  java.version=1.6.0_23-ea
  java.vendor=Sun Microsystems Inc.
  BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
  Framework arguments:  -product -XX:+AggressiveHeap org.eclipse.epp.package.modeling.product
  Command-line arguments:  -os win32 -ws win32 -arch x86 -product -XX:+AggressiveHeap org.eclipse.epp.package.modeling.product
  
  !ENTRY org.eclipse.core.resources 2 10035 2011-02-05 05:57:16.411
  !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
  
  !ENTRY org.eclipse.ui 4 4 2011-02-05 05:57:24.076
  !MESSAGE Plug-in 'org.eclipse.papyrus.diagram.common' contributed an invalid Menu Extension (Path: 'diagramMenu/filtersMenu' is invalid): org.eclipse.papyrus.diagram.common.myShowHideCompartmentAction
  
  !ENTRY org.eclipse.ui 4 4 2011-02-05 05:57:24.098
  !MESSAGE Plug-in 'org.eclipse.papyrus.diagram.common' contributed an invalid Menu Extension (Path: 'diagramMenu/filtersMenu' is invalid): org.eclipse.papyrus.diagram.common.myShowHideContentsAction
  </code></pre>