The below code deals with leaks of memory like it detects when in SQLite finalize is called or not.

suggest change

detectLeakedClosableObjects was added in API 11. It reports a Closeable that was finalized without close().

StrictMode.setVmPolicy(new StrictMode.VmPolicy.Builder()  
    .detectActivityLeaks()  
    .detectLeakedClosableObjects()  
    .penaltyLog()  
    .build());

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents