java.lang.OutOfMemoryError

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

Solutions on the web6200

  • (Heap Size=65536KB, Allocated=61117KB)
  • (Heap Size=65536KB, Allocated=60033KB)
  • (Heap Size=49187KB, Allocated=42276KB)
  • Stack trace

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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 4 months ago
    Unknown user
    Once, 9 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    6 more bugmates