java heap space error with connect rt.jar
<p>I wanna generate an application which it will collaborate with Matlab M file. I found that a Matlab developed a packet for java. The packet is created a Java class from Matlab M file. This packet is generated a special jar file (this jar file needs a Javabuilder.jar and it is included in Matlab deployed packet) and it works very well on java. I wanna add Matlab generated jar file (which I call my.jar) to my Android project. I added my.jar and Javabuilder.jar on my project and I founded that Javabuilder.jar file needs java rt.jar. I attached rt.jar on the project too and I faced a java heap space error. I found below solution to solve java heap space error but none of them could not solve my problem.</p>

<ul>
<li>changed -Xms40m and -Xmx512m values which there are available in Eclips.ini, to Xms256m and Xmx1024m</li>
<li>I run my Emulator with partision-size of 100m</li>
<li>I added android:largeHeap="true" command 
Who has a new suggestion? 
I would appreciate if someone help me
Regardes 
Bahram</li>
</ul>
