Skip to content

Out of memory error #35

@LeoCrenon

Description

@LeoCrenon

Hello,

I was using flutter_scene to display a custom scene and after ~30 seconds (sometimes more) i encounter this error :
(I tried running the example app with android enabled and i get the same issue in about the same time)

W/Adreno-GSL(19265): <sharedmem_gpuobj_alloc:2736>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
E/Adreno-GSL(19265): <gsl_memory_alloc_pure:2604>: GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
E/Dart    (19265): ../../../flutter/third_party/dart/runtime/vm/zone.cc: 96: error: Out of memory.
E/DartVM  (19265): version=3.7.0-41.0.dev (dev) (Fri Oct 18 05:02:56 2024 -0700) on "android_arm64"
E/DartVM  (19265): pid=19265, thread=501311792384, isolate_group=main(0xb4000073fdc91800), isolate=(nil)(0x0)
E/DartVM  (19265): os=android, arch=arm64, comp=yes, sim=no
E/DartVM  (19265): isolate_instructions=73956713a0, vm_instructions=73956713a0
E/DartVM  (19265): fp=7fed0a7070, sp=7fed0a5f30, pc=739547f4a0
E/DartVM  (19265):   pc 0x000000739547f4a0 fp 0x0000007fed0a7070 /data/app/~~WKWWfwp-kVBfEnfLqqDjjA==/com.example.example_app-NkeMSxABHh3tXbyljYq4hA==/lib/arm64/libflutter.so+0x226f4a0
E/DartVM  (19265): -- End of DumpStackTrace
E/DartVM  (19265):   pc 0x0000000000000000 fp 0x0000007fed0a8ce8 sp 0x0000000000000000 [Stub] CallToRuntime
E/DartVM  (19265):   pc 0x000000738e9834d0 fp 0x0000007fed0a8d18 sp 0x0000007fed0a8cf8 [Stub] LazyCompile
E/DartVM  (19265):   pc 0x0000007346630a3c fp 0x0000007fed0a8d68 sp 0x0000007fed0a8d28 [Unoptimized] [email protected]
E/DartVM  (19265):   pc 0x000000734662ee48 fp 0x0000007fed0a8df8 sp 0x0000007fed0a8d78 [Unoptimized] StackFrame.fromStackTraceLine
E/DartVM  (19265):   pc 0x000000734662eaa4 fp 0x0000007fed0a8e28 sp 0x0000007fed0a8e08 [Unoptimized] StackFrame.fromStackTraceLine
E/Dart    (19265): ../../../flutter/third_party/dart/runtime/vm/zone.cc: 96: error: Out of memory.
E/DartVM  (19265): Aborting reentrant request for stack trace.
F/libc    (19265): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 19265 (ple.example_app), pid 19265 (ple.example_app)
...

I used the devtools to help me understand and this is what i see :
image

The orange dotted line is the RSS.

Thank you for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    crashIssues causing user applications to crash.platform:android

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions