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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by NodensN
, 1 year ago
(Heap Size=65536KB, Allocated=61117KB)
via openbravo by javiexpo1
, 1 year ago
via Oracle Community by 992766, 1 year ago
via Sonatype JIRA by Kaizer Sogiawala, 1 year ago
Java heap space
via Sonatype JIRA by Kaizer Sogiawala, 1 year ago
Java heap space
java.lang.OutOfMemoryError: (Heap Size=65536KB, Allocated=61117KB)
at java.lang.String.(String.java:255)
at libcore.io.IoUtils$FileReader.toString(IoUtils.java:272)
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.(CertPinManager.java:49)
at com.android.org.conscrypt.TrustManagerImpl.(TrustManagerImpl.java:137)
at com.android.org.conscrypt.TrustManagerImpl.(TrustManagerImpl.java:97)
at javax.net.ssl.TrustManagerFactory.getTrustManagers(TrustManagerFactory.java:219)
at okhttp3.OkHttpClient.systemDefaultTrustManager(OkHttpClient.java:253)
at okhttp3.OkHttpClient.(OkHttpClient.java:228)
at okhttp3.OkHttpClient.(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.(GoApiProvider.java:20)
at com.my.package.common.service.impl.UrlService.(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.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 dalvik.system.NativeStart.main(NativeStart.java)

Users with the same issue

2 times, 7 months ago
2 times, 1 year ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.