Skip to content
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

OutOfMemoryError thrown while trying to throw OutOfMemoryError #248

Closed
botondbutuza opened this issue Aug 19, 2015 · 4 comments
Closed

OutOfMemoryError thrown while trying to throw OutOfMemoryError #248

botondbutuza opened this issue Aug 19, 2015 · 4 comments

Comments

@botondbutuza
Copy link

One of the funnier OOM errors; said I should report, so here it is:

  • FAILURE:
    java.lang.OutOfMemoryError: OutOfMemoryError thrown while trying to throw OutOfMemoryError; no stack available
    • Reference Key: 8224a927-39d0-4b7b-b333-b399d703a72a
    • Device: samsung samsung SM-G900F kltexx
    • Android Version: 5.0 API: 21 LeakCanary: 1.4-SNAPSHOT 6c0bee2
    • Durations: watch=5016ms, gc=176ms, heap dump=4264ms, analysis=18090ms
    • 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)
@pyricau
Copy link
Member

pyricau commented Aug 27, 2015

Duplicates #229

@pyricau pyricau closed this as completed Aug 27, 2015
@sanketpatell
Copy link

<application
** android:largeHeap="true"// Add this in to your main fast file**
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">

@kounalem
Copy link

@shpatel Adding android:largeHeap on the manifest is not recommended.
It might slow other running application, and also impact your app's reactiveness, since the garbage collector with be solicited more often. This will do more damage than solution.

@PeterDasondhi
Copy link

PeterDasondhi commented Mar 15, 2018

@shpatel Still I am getting Issue. Please let me know is there any other solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants