开发者

Netbeans getting java.lang.OutOfMemoryError

开发者 https://www.devze.com 2023-03-01 17:39 出处:网络
I\'m executing my j2me project and I\'m getting this error: TRACE: <at java.lang.OutOfMemoryError>, Exception caught in Display class

I'm executing my j2me project and I'm getting this error:

TRACE: <at java.lang.OutOfMemoryError>, Exception caught in Display class
java.lang.OutOfMemoryError
   (stack trace incomplete)

My .jar size is 612KB and I had开发者_如何学C search and found this: Java heap space in netbeans.. but I've increased the heap size already!

But as shown in this case, I am not able to find VMoption in properties-Run.

Where can I get the screenshow or the exact file where I have to increase the heap size of Netbeans?


You can use obfuscator to obfuscate your code . and 612 kb is considered as a large file for java-me.

You can increase memory and made it working but it will fail in real time env. so I would suggest you to work in dev with real time conf.

right click your project > properties > obfuscating > obfuscation level > high >build your app

0

精彩评论

暂无评论...
验证码 换一张
取 消