Let’s be honest: I only use Java for Minecraft. So I only debugged with it. But
all version, server or client, all launchers. All of them use double (or more)
RAM. In the game the correctly allocated amount is used, but on my system double
or more is allocated. Thus my other apps don’t get enough me...
FATAL EXCEPTION: main
Process: com.rubenmayayo.lemmy, PID: 29912
java.lang.RuntimeException: Canvas: trying to draw too large(170161920bytes) bitmap.
at android.graphics.RecordingCanvas.throwIfCannotDraw(RecordingCanvas.java:266)
at android.graphics.BaseRecordingCanvas.drawBitmap(BaseRecordingCanvas.java:94)
at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:549)
at ah.a.draw(AsyncDrawable.java:9)
at ah.e.draw(AsyncDrawableSpan.java:76)
at android.text.TextLine.handleReplacement(TextLine.java:1507)
at android.text.TextLine.handleRun(TextLine.java:1676)
at android.text.TextLine.drawRun(TextLine.java:846)
at android.text.TextLine.draw(TextLine.java:446)
at android.text.Layout.drawText(Layout.java:911)
at android.widget.Editor.drawHardwareAcceleratedInner(Editor.java:2296)
at android.widget.Editor.drawHardwareAccelerated(Editor.java:2209)
at android.widget.Editor.onDraw(Editor.java:2140)
at android.widget.TextView.onDraw(TextView.java:9350)
at android.view.View.draw(View.java:24627)
at android.view.View.updateDisplayListIfDirty(View.java:23493)
at android.view.View.draw(View.java:24357)
at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
at android.view.View.draw(View.java:24630)
at android.view.View.updateDisplayListIfDirty(View.java:23493)
at android.view.View.draw(View.java:24357)
at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
at android.view.View.draw(View.java:24630)
at android.view.View.updateDisplayListIfDirty(View.java:23493)
at android.view.View.draw(View.java:24357)
at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
at androidx.recyclerview.widget.RecyclerView.drawChild(RecyclerView.java:1)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
at android.view.View.draw(View.java:24630)
at androidx.recyclerview.widget.RecyclerView.draw(RecyclerView.java:1)
at android.view.View.updateDisplayListIfDirty(View.java:23493)
at android.view.View.draw(View.java:24357)
at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
at android.view.View.draw(View.java:24630)
at android.view.View.updateDisplayListIfDirty(View.java:23493)
at android.view.View.draw(View.java:24357)
at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
at androidx.coordinatorlayout.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:137)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
at android.view.View.updateDisplayListIfDirty(View.java:23484)
at android.view.View.draw(View.java:24357)
at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
at android.view.View.updateDisplayListIfDirty(View.java:23484)
at android.view.View.draw(View.java:24357)
at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
at androidx.coordinatorlayout.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:137)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
at android.view.View.updateDisplayListIfDirty(View.java:23484)
at android.view.View.draw(View.java:24357)
at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
at android.view.View.draw(View.java:24630)
at android.view.View.updateDisplayListIfDirty(View.java:23493)
at android.view.View.draw(View.java:24357)
at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
at android.view.View.updateDisplayListIfDirty(View.java:23484)
at android.view.View.draw(View.java:24357)
at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
at android.view.View.updateDisplayListIfDirty(View.java:23484)
at android.view.View.draw(View.java:24357)
No, it's got to be the images. I used Boost to comment on that thread before OP updated with the images, and when I get to the post via my inbox it loads fine. Until I scroll up and the images load, then it crashes.
Could it still be the same though? What if there's an image post that has the same issue in the image? When Boost tries to load that post, wouldn't it crash too?