In my data field I have been logging free memory in both sim and on real devices using System.println(System.getSystemStats().freeMemory). To figure out where in the code I max out and then try to optimize dynamic loading and code those places, e.g. in connection with load of custom fonts during the run/activity.
I have though noticed some rather big differences between the sim and real devices – for several devices in fact: fr645, epix2, Venu2. E.g. in fr645 in onUpdate() call I get ~500 more bytes free in the real device and in compute() I get ~1000 bytes more free. And, I would really like to use that extra free memory in real word ….
I kind’a assume that it’s the real device data I can trust – or can I?