MM2-0 / Kvaesitso

A search-focused Android launcher
https://kvaesitso.mm20.de/
GNU General Public License v3.0
2.51k stars 86 forks source link

crash on memory allocation #1066

Closed mrotschi closed 1 month ago

mrotschi commented 2 months ago

Description

I was not doing something special. At some point, the scroll on the main screen was very slow but it was one hour or so before the crash report.

Strack trace

java.lang.OutOfMemoryError: Failed to allocate a 80 byte allocation with 851768 free bytes and 831KB until OOM, target footprint 201326592, growth limit 201326592; giving up on allocation because <1% of heap free after GC.
    at androidx.compose.ui.platform.GraphicsLayerOwnerLayer.getMatrix-sQKQjiQ(GraphicsLayerOwnerLayer.android.kt:316)
    at androidx.compose.ui.platform.GraphicsLayerOwnerLayer.mapBounds(GraphicsLayerOwnerLayer.android.kt:23)
    at androidx.compose.ui.node.NodeCoordinator.rectInParent$ui_release(NodeCoordinator.kt:74)
    at androidx.compose.ui.node.NodeCoordinator.localBoundingBoxOf(NodeCoordinator.kt:79)
    at androidx.compose.ui.layout.LayoutCoordinatesKt.boundsInWindow(LayoutCoordinates.kt:31)
    at de.mm20.launcher2.ui.launcher.search.common.grid.GridItemKt$$ExternalSyntheticLambda4.invoke(R8$$SyntheticClass:41)
    at androidx.compose.ui.layout.OnGloballyPositionedNode.onGloballyPositioned(OnGloballyPositionedModifier.kt:3)
    at androidx.compose.ui.node.OnPositionedDispatcher.dispatchHierarchy(OnPositionedDispatcher.kt:66)
    at androidx.compose.ui.node.OnPositionedDispatcher.dispatchHierarchy(OnPositionedDispatcher.kt:153)
    at androidx.compose.ui.node.OnPositionedDispatcher.dispatchHierarchy(OnPositionedDispatcher.kt:153)
    at androidx.compose.ui.node.OnPositionedDispatcher.dispatchHierarchy(OnPositionedDispatcher.kt:153)
    at androidx.compose.ui.node.OnPositionedDispatcher.dispatchHierarchy(OnPositionedDispatcher.kt:153)
    at androidx.compose.ui.node.OnPositionedDispatcher.dispatchHierarchy(OnPositionedDispatcher.kt:153)
    at androidx.compose.ui.node.OnPositionedDispatcher.dispatchHierarchy(OnPositionedDispatcher.kt:153)
[19 lines truncated]

Device info

APP.VERSION : 1.32.2
APP.VERSIONCODE : 2024072400
APP.SIGNATURE : dRIzg4UiJzwGibzTylZTobfZl/E=
LAUNCHER.APP : android
TIMEZONE : Europe/Paris
VERSION.RELEASE : 13
VERSION.INCREMENTAL : gms-d57debf7
VERSION.SDK.NUMBER : 33
BOARD : FP3
BOOTLOADER : unknown
BRAND : Fairphone
CPU_ABI : arm64-v8a
CPU_ABI2 :
DISPLAY : 6.A.030.0
FINGERPRINT : Fairphone/FP3/FP3:13/6.A.030.0/gms-d57debf7:user/release-keys
HARDWARE : qcom
HOST : jenkins-agent-01
ID : 6.A.030.0
MANUFACTURER : Fairphone
MODEL : FP3
PRODUCT : FP3
TAGS : release-keys
TIME : 1721420902000
TYPE : user

noesterle commented 1 month ago

I've experienced this crash and error as well.

Description

Not doing anything in particular, just scrolling around and opening and dismissing the app drawer. The UI slows down over time until it crashes. Once it recovers from the crash, the UI is as smooth and fluid as expected.

Strack trace

java.lang.OutOfMemoryError: Failed to allocate a 40 byte allocation with 137408 free bytes and 134KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC.
    at android.view.InsetsState$1.createFromParcel(InsetsState.java:791)
    at android.view.InsetsState$1.createFromParcel(InsetsState.java:788)
    at android.os.Parcel.readTypedObject(Parcel.java:4159)
    at android.view.IWindow$Stub.onTransact(IWindow.java:268)
    at android.os.Binder.execTransactInternal(Binder.java:1505)
    at android.os.Binder.execTransact(Binder.java:1444)

Device info

APP.VERSION : 1.33.1
APP.VERSIONCODE : 2024090300
APP.SIGNATURE : rx1fSnL7r5/OMoFC0e1KPqTndXQ=
LAUNCHER.APP : android
TIMEZONE : America/New_York
VERSION.RELEASE : 14
VERSION.INCREMENTAL : 12235381
VERSION.SDK.NUMBER : 34
BOARD : raven
BOOTLOADER : slider-14.5-12088207
BRAND : google
CPU_ABI : arm64-v8a
CPU_ABI2 :
DISPLAY : AP2A.240905.003.F1
FINGERPRINT : google/raven/raven:14/AP2A.240905.003.F1/12235381:user/release-keys
HARDWARE : raven
HOST : r-68354e84479a5a03-l46s
ID : AP2A.240905.003.F1
MANUFACTURER : Google
MODEL : Pixel 6 Pro
PRODUCT : raven
TAGS : release-keys
TIME : 1723754412000
TYPE : user

MM2-0 commented 1 month ago

Duplicate of #1059