Well, first you need to zero out all pointers to the array, before doing the GC.
On Dec 27, 4:11 pm, Steven Nieh <[email protected]> wrote: > Hello, I'm new to android app development. Now I need to create a very > large array and write to disk. After I finish it, I need to delete it > immediately. I tried to call System.gc(), but it doesn't work very > well. Should i consider use object pooling? Thanks! > > Have a good holiday! > > Steven -- 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

