java.lang.OutOfMemoryError: (Heap Size=65536KB, Allocated=61117KB)

GitHub | NodensN | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    systemDefaultTrustManager Out of Memory error

    GitHub | 7 months ago | NodensN
    java.lang.OutOfMemoryError: (Heap Size=65536KB, Allocated=61117KB)
  2. 0

    GitHub comment 2768#240817118

    GitHub | 6 months ago | rohantilekar
    java.lang.OutOfMemoryError
  3. 0

    GitHub comment 703#216127941

    GitHub | 10 months ago | daniele-athome
    java.lang.OutOfMemoryError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java heap (memory) issues.

    GitHub | 4 years ago | sebyfrancis
    java.lang.OutOfMemoryError: GC overhead limit exceeded
  6. 0

    Handle errors on project load better

    GitHub | 4 years ago | tfmorris
    java.lang.OutOfMemoryError: GC overhead limit exceeded

  1. szoszi 3 times, last 12 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    (Heap Size=65536KB, Allocated=61117KB)

    at java.lang.String.<init>()
  2. Java RT
    String.<init>
    1. java.lang.String.<init>(String.java:255)
    1 frame
  3. Android
    IoUtils.readFileAsString
    1. libcore.io.IoUtils$FileReader.toString(IoUtils.java:272)
    2. libcore.io.IoUtils.readFileAsString(IoUtils.java:114)
    2 frames
  4. RoboVM
    TrustManagerFactoryImpl.engineGetTrustManagers
    1. com.android.org.conscrypt.CertPinManager.readPinFile(CertPinManager.java:111)
    2. com.android.org.conscrypt.CertPinManager.rebuild(CertPinManager.java:85)
    3. com.android.org.conscrypt.CertPinManager.<init>(CertPinManager.java:49)
    4. com.android.org.conscrypt.TrustManagerImpl.<init>(TrustManagerImpl.java:137)
    5. com.android.org.conscrypt.TrustManagerImpl.<init>(TrustManagerImpl.java:97)
    6. com.android.org.conscrypt.TrustManagerFactoryImpl.engineGetTrustManagers(TrustManagerFactoryImpl.java:80)
    6 frames
  5. Java RT
    TrustManagerFactory.getTrustManagers
    1. javax.net.ssl.TrustManagerFactory.getTrustManagers(TrustManagerFactory.java:219)
    1 frame
  6. okhttp3
    OkHttpClient$Builder.build
    1. okhttp3.OkHttpClient.systemDefaultTrustManager(OkHttpClient.java:253)
    2. okhttp3.OkHttpClient.<init>(OkHttpClient.java:228)
    3. okhttp3.OkHttpClient.<init>(OkHttpClient.java:117)
    4. okhttp3.OkHttpClient$Builder.build(OkHttpClient.java:830)
    4 frames
  7. com.my.package
    PublicationFragment.onResume
    1. com.my.package.common.provider.GoApiProvider.initAdapter(GoApiProvider.java:32)
    2. com.my.package.common.provider.GoApiProvider.<init>(GoApiProvider.java:20)
    3. com.my.package.common.service.impl.UrlService.<init>(UrlService.java:24)
    4. com.my.package.component.publication.fragment.PublicationFragment.loadLinkPreview(PublicationFragment.java:617)
    5. com.my.package.component.publication.fragment.PublicationFragment.onResume(PublicationFragment.java:651)
    5 frames
  8. Android Support v4
    FragmentActivity.onPostResume
    1. android.support.v4.app.Fragment.performResume(Fragment.java:2120)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1147)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
    4. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1268)
    5. android.support.v4.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:2153)
    6. android.support.v4.app.FragmentController.dispatchResume(FragmentController.java:223)
    7. android.support.v4.app.FragmentActivity.onResumeFragments(FragmentActivity.java:522)
    8. android.support.v4.app.FragmentActivity.onPostResume(FragmentActivity.java:511)
    8 frames
  9. Android v7
    AppCompatActivity.onPostResume
    1. android.support.v7.app.AppCompatActivity.onPostResume(AppCompatActivity.java:178)
    1 frame
  10. Android Platform
    ActivityThread.main
    1. android.app.Activity.performResume(Activity.java:5418)
    2. android.app.ActivityThread.performResumeActivity(ActivityThread.java:3156)
    3. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3211)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2500)
    5. android.app.ActivityThread.access$800(ActivityThread.java:153)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1349)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:157)
    9. android.app.ActivityThread.main(ActivityThread.java:5633)
    9 frames
  11. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  12. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:896)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:712)
    2 frames
  13. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(NativeStart.java)
    1 frame