title: android java heap space
body: <p>When I include more than about 5 jars, the eclipse goes down while compiling due to heap memory. </p>
  
  <pre><code>An internal error occurred during: "Activity Monitor Job".
  Java heap space
  Unable to execute dex : java heap space
  </code></pre>
  
  <p>My PC has 2GB memory and eclipse.ini is as follows</p>
  
  <pre><code>-startup
  plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
  --launcher.library
  plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
  -showsplash
  org.eclipse.platform
  -vm
  C:/Program Files/Java/jdk1.7.0/bin/javaw.exe
  --launcher.XXMaxPermSize
  512m
  --launcher.defaultAction
  openFile
  -vmargs
  -Dosgi.requiredJavaVersion=1.5
  -Xms256m
  -Xmx700m
  </code></pre>
  
  <p>I tried to put the jars on Library on the eclipse build path setting. But it gives me VerifyError.</p>
  
  <p>Do I need to increase ram memory? </p>