android garbage collector
-
Garbage Collector, Memory Leaks, and Thread Termination in AndroidMobile/Android 2020. 5. 26. 15:52
All objects in your application must be garbage collected eventually except for objects that you explicitly want to use for the entire lifetime of the application. All started threads in your application must terminate in a timely manner to prevent memory leaks. 1. Memory Allocation 1.1 OutOfMemoryException If allocated memory never released, sooner or later the application will crash with OutOf..