On Jul 29, 1:36 pm, f_heft <delphik...@gmail.com> wrote: > At the moment I'm almost only using local objects (float) in my > methods, so I guess they are allocated every time the method is called
"float" is a primitive type, not an object. It sits in a register, not on the heap. "Float" is an object that can be used to "box" a float. Hopefully you're not using Float for values used in calculations. You may want to use the Allocation Tracker tab in the stand-alone version of DDMS to figure out what's being allocated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---