Great, So break it up into smaller amounts of data, and destroy more frequently? I mean, actually, you're probably doing hella allocations, right?
Instead of allocating a new huge array, how about a small array that you reuse? (I.e., if you're allocating in a loop, or allocating something huge, do something that's not that.) Kris P.s., Latimerius's suggestion is good, take it. On Thu, Oct 6, 2011 at 3:17 PM, Jean-Michel <[email protected]> wrote: > It is a navigation app. > > Basiaclly I have a service that gets GPS location every second, stores > it in an array, and that array is passed to the display activity thru > a bundle (using IPC)... > > So yes a fairly large amount of data. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

