Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Developer
Posts: 4
Registered: ‎12-16-2009
My Device: 8830
My Carrier: telus

j2me app works in simulator non on device.

I am trying to run a j2me app on a various number of devices. It works fine on all regular phones. I am just trying now on Blackberry. It runs perfectly using the simulator. I tried a number of different simulator models. When I load it on to an actual device, I get a java.lang out of memory error.

Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: j2me app works in simulator non on device.

[ Edited ]

Hi and Welcome.


Not sure I can help here.  If you have followed the standard recommendation of compiling using a level appropriate for your device, then I suspect the next thing is to try to debug.


In my experience, which is unfortunately limited to RIMlets, this sort of problem is usually some form of recursive call.