Questions tagged [leakcanary]

LeakCanary is a memory leak detection library for Android and Java.

LeakCanary is a memory leak detection library for and .

For more information, see the GitHub page.

390 questions
0
votes
1 answer

Send leakcanery trace to server

I'm using leakcanery for a while now and it works fine! The thing is after testing one of my app on wide range of device some leaks showed up that i never saw them before so i decided to enable leakcanery in production version as well or trace of…
Alireza Ahmadi
  • 5,122
  • 7
  • 40
  • 67
0
votes
1 answer

What does the "id" mean in leakcanary

I used LeakCanary to detect memory leak and found this in the log: D | [38] = android.graphics.Bitmap [id=0x12d81740] But I am not sure what the id=0x12d81740 mean? is it the hash id get by System.identityHashCode(mBitmap)?, I have searched the…
Juude
  • 1,207
  • 2
  • 13
  • 22
0
votes
0 answers

How to upload leak traces of leakCanary to HipChat room

https://gist.github.com/pyricau/06c2c486d24f5f85f7f0#file-squaredebugapplication-java I am trying to follow the code here to upload leak traces to HipChat room. I'm pretty sure I am using the valid auth token and room number, but nothing happens…
Zheng
  • 1
  • 2
0
votes
1 answer

FirebaseAuth Memory Leak in Activity

I added the awesome LeakCanary library in my app and pretty soon I started to receive various reports for a leak generated by the FirebaseAuth Object that I use in the various activities. Now my question is: is it a leak generated by the Firebase…
-1
votes
1 answer

Can I integrate leak canary to AOSP build system?

Can i add leak canary aar to Android.mk dependency and use leak canary as part of system app
ArathyAnand
  • 71
  • 1
  • 8
-1
votes
1 answer

How to download leakcanary-android aar file

I want to use leakcanary-android aar file and don't want to use grade to download it, how can I do that.
-1
votes
1 answer

Edittext is leaking using leakcanary

Logs of leak canary leakTrace= ┬ ├─ java.lang.Thread │ Leaking: UNKNOWN │ Thread name: 'Studio:InputCon' │ GC Root: Java local variable │ ↓ thread Thread. │ ~~~~~~~~~~~~ ├─…
-1
votes
1 answer

Android Dialog + Leak Canary

I was trying to use built-in AlertDialog with onDismiss listener (without it result was same) and custom AppCompatDialog subclass. After dialog dismissed, current activity should finish. But few seconds later memory leak push appears. If I put…
wingear
  • 819
  • 9
  • 21
-1
votes
1 answer

LeakCanary leaks fragment

After updating leakCanary to 1.6.2 got leaks when replace + addToBackstack used. How can I handle it? android.support.constraint.ConstraintLayout has leaked: Toast$TN.mNextView LinearLayout.mContext PinSetCodeActivity.fragmentProcessor …
Serhii Hrabas
  • 401
  • 1
  • 5
  • 12
-1
votes
1 answer

Is there any leak memory tracing SDK for Swift on iOs like Leak Candy ( Android )

Is there any SDK for leak memory on iOs for I used Allocation & Leaks instrument for my Swift project but it usually crash after some minutes running on devices. Thank you!
-1
votes
2 answers

I am getting the following error while executing my code : com.squareup.leakcanary:leakcanary-android:1.5

I am getting the following error while executing my code. Error: Could not find method debugdcompile() for arguments [com.squareup.leakcanary:leakcanary-android:1.5] on object of type …
royalapp
  • 173
  • 1
  • 3
  • 7
-1
votes
1 answer

Activity instance leak memory

I implements activity with fragments. In every fragment, I implemented RecyclerView. In RecyclerView after every nth row, I attached static view from My singleton class already holding views. In onDestroy of activity I remove all views from…
-1
votes
2 answers

Android Memory leak on reference view

I've wrote a simple HTTP request, that handles my HTTP requests so i don't want to use a library everything works with the requests but there are a few memory leaks, I have found a memory leak but i don't know how to solve it This is my file…
A Dev
  • 82
  • 1
  • 10
-2
votes
1 answer

I can't found the leak , my project rootview is remove

the leak image I can't found the leak, the rootview is remove where destroy
-3
votes
1 answer

Databinding memory-leak

I used Jetpack's navigation to manage Fragment, which uses databinding in Fragment. Did not add other code. The memory leak is HomeFragment.databinding.root, which is a LinearLayout, and LinearLayout does not put anything. The LeakCanary message…
1 2 3
25
26