06-30-2009 06:16 PM
i am using ANT + ECLIPSE 3.4.1
I am building bouncy castle into app (j2me version), and am running into this error when compiling
does this mean I need to increase the heap size of the <rapc> command? if so, how do I do that?
06-30-2009 08:21 PM
I guess if I had a command line, I could do something like -Xmx512m to increase the heap storage, but I don't know how to do that within ant.
I have tried rebooting my computer - doesn't help.
06-30-2009 08:41 PM
If you're using rapc to both compile and link, you may want to try using javac directly to compile, then use rapc to link into cod files. This way you have more control over the compiler command line.
01-27-2014 08:18 AM
I am using this usuful tool but I have the same problem.
[rapc] java.lang.OutOfMemoryError: Java heap space
[rapc] at net.rim.tools.compiler.f.j.a(Unknown Source)
[rapc] at net.rim.tools.compiler.Compiler.a(Unknown Source)
[rapc] at net.rim.tools.compiler.Compiler.compile(Unknown Source)
[rapc] at net.rim.tools.compiler.Compiler.main(Unknown Source)
Is there a way to increase the heap space?