your app is consuming too much memory, i'll say. there are tons of articles on the web on how to optimize J2ME and midlets so as to conserve resources. remember that these are small devices with constrained resources. NOTE: you can usually change the heap size of the emulator to accomodate apps with more intensive requirements.
yep, that's one of the first things to optimize, immutable objects like strings. i've also tried to "reuse" stringbuffers: StringBuffer x=new StringBuffer(); x.append("xxx"); .. .. .. // set length to 0 again and create new string after x.setLength(0) x.append("yyy");
It looks like it's time for me to write you a reality check! Or maybe a tiny ad!