-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OOM in LeakCanary process while processing dump #229
Comments
I am getting a similar error. Although the specific failure varies, the stack trace looks the same. I/art﹕ hprof: heap dump "/storage/emulated/0/Download/leakcanary/suspected_leak_heapdump.hprof" starting... |
I should probably include the size of the heap dump file in these reports, would help pinpointing some size after which it breaks. Also, it would help if you could upload one of the heap dumps that caused an OOM on L. I'd like to see if there are simple tricks we could do to lower memory pressure. |
This happens to me fairly often so I will upload a heap dump next time I see it. |
Same error for me. On Samsung S5 with Android 5.0. |
Same for me on Android Version: 5.1.1 API: 22 LeakCanary: 1.4-SNAPSHOT Samsung SM-G903F (S5 Neo) |
Tracking ways to fix this in #223 |
@jemshit, are you experiencing this issue with the latest 1.4-SNAPSHOT? |
@jrodbx |
ok, could you try with 1.4-SNAPSHOT? It was updated earlier today with this fix. |
I am experiencing this issue with 1.4-beta1 as well. Very small app with 1 simple fragment. Using Nexus 5 running marshmallow simulator. I installed LeakCanary into my app since the beginning of the project and have not had a successful dump yet. This error every time. I could try 1.4-SNAPSHOT for you @jrodbx. What is the gradle repo for the snapshot? I added:
to my build.gradle, did a sync, and it could not find 1.4-SNAPSHOT. |
I am experiencing the issue on 1.4-SNAPSHOT with the "no stack available" image posted by @jemshit |
@levibostian Can you try with btw, snapshot repo:
|
I am getting the same error on Samsung Note Android 5.0 Throwing OutOfMemoryError "Failed to allocate a 1048588 byte allocation with 8388608 free bytes and 362MB until OOM; failed due to fragmentation (required continguous free 1052672 bytes where largest contiguous free 606208 bytes)" |
java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack available
* Reference Key: 87e281ee-6c4d-4c12-b040-d0c2c1e9c2e4
* Device: samsung samsung SM-G900T kltetmo
* Android Version: 5.0 API: 21 LeakCanary: 1.4-SNAPSHOT 6c0bee2
* Durations: watch=5036ms, gc=197ms, heap dump=8458ms, analysis=14404ms
* Excluded Refs:
| Field: android.app.ActivityThread$ActivityClientRecord.nextIdle
| Field: android.view.inputmethod.InputMethodManager.mNextServedView
| Field: android.view.inputmethod.InputMethodManager.mServedView
| Field: android.view.inputmethod.InputMethodManager.mServedInputConnection
| Field: android.view.inputmethod.InputMethodManager.mCurRootView
| Field: android.animation.LayoutTransition$1.val$parent
| Field: android.view.textservice.SpellCheckerSession$1.this$0
| Field: android.accounts.AccountManager$AmsTask$Response.this$1
| Field: android.media.MediaScannerConnection.mContext
| Field: android.os.UserManager.mContext
| Field: android.view.Choreographer$FrameDisplayEventReceiver.mMessageQueue (always)
| Static field: android.media.session.MediaSessionLegacyHelper.sInstance
| Static field: android.text.TextLine.sCached
| Static field: android.support.v7.internal.widget.ActivityChooserModel.mActivityChoserModelPolicy
| Static field: android.widget.ActivityChooserModel.mActivityChoserModelPolicy
| Static field: android.sec.clipboard.ClipboardUIManager.sInstance
| Thread:FinalizerWatchdogDaemon (always)
| Thread:main (always)
| Thread:LeakCanary-Heap-Dump (always)
| Class:java.lang.ref.WeakReference (always)
| Class:java.lang.ref.SoftReference (always)
| Class:java.lang.ref.PhantomReference (always)
| Class:java.lang.ref.Finalizer (always)
| Class:java.lang.ref.FinalizerReference (always)`
The text was updated successfully, but these errors were encountered: