The below code deals with leaks of memory like it detects when in SQLLite finalize is called or not.
suggest changeStrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()
.detectActivityLeaks()
.detectLeakedClosableObjects()
.penaltyLog()
.build());
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents