title: JAVA_OPTS for increasing heap size
body: <p>I want to increase my Heap size. How can I use JAVA_OPTS for doing so.I am getting the following error may be this is because of low heap size</p>
  
  <pre><code>UNEXPECTED TOP-LEVEL ERROR:
  java.lang.OutOfMemoryError: Java heap space
      at java.util.Arrays.copyOfRange(Arrays.java:3209)
      at java.lang.String.&lt;init&gt;(String.java:215)
      at java.lang.StringBuilder.toString(StringBuilder.java:430)
      at com.android.dx.rop.type.Prototype.withFirstParameter(Prototype.java:370)
      at com.android.dx.rop.code.Rops.ropFor(Rops.java:1210)
      at com.android.dx.cf.code.RopperMachine.run(RopperMachine.java:478)
      at com.android.dx.cf.code.Simulator$SimVisitor.visitConstant(Simulator.java:692)
      at com.android.dx.cf.code.BytecodeArray.parseInstruction(BytecodeArray.java:763)
      at com.android.dx.cf.code.Simulator.simulate(Simulator.java:95)
      at com.android.dx.cf.code.Ropper.processBlock(Ropper.java:684)
      at com.android.dx.cf.code.Ropper.doit(Ropper.java:639)
      at com.android.dx.cf.code.Ropper.convert(Ropper.java:252)
      at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:256)
  </code></pre>