I found java.io.File.DeleteOnExit can hold file paths and delete files before VM shutdowns.
I got a problem that DeleteOnExit holds about 33000 file paths which are 5.3MB before my apk throws an OutOfMemory exception. It seems that the virtual machine won't remove file paths even those files pointed by the paths are deleted. Is there any solution to remove file paths in DeleteOnExit? -- 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

