You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flutter tool should recognize Android out of memory log pattern and report it cleanly to the user #6532
In the following log, notice that the first line has a thread ID which matches the thread ID in the second line, and that the second line has a process ID that matches the process ID in the sixth line, that the sixth line indicates we had an out-of-memory issue, and that the last line lets us know that the process ID corresponds to the flutter app that we launched. The whole thing happens in less than a second.
The flutter tool should notice all this, put it together, and display a useful message to the user saying that the Flutter app was probably terminated due to an out-of-memory issue, and to verify that there isn't maybe an infinite loop or a memory leak. Maybe it could also point to the observatory and its heap inspector.
10-24 16:09:30.358 15164 15185 F libc : Fatal signal 11 (SIGSEGV), code 2, fault addr 0x82b41e60 in tid 15185 (Thread-4)
10-24 16:09:30.360 271 271 W : debuggerd: handling request: pid=15164 uid=10112 gid=10112 tid=15185
10-24 16:09:30.378 15502 15502 E : debuggerd: process stopped due to unexpected signal 27
10-24 16:09:30.408 271 271 W : debuggerd: resuming target 15164
10-24 16:09:30.409 2231 15503 W ActivityManager: Force finishing activity io.flutter.examples.gallery/org.domokit.sky.shell.SkyActivity
10-24 16:09:30.432 295 295 E lowmemorykiller: Error writing /proc/15164/oom_score_adj; errno=22
10-24 16:09:30.471 2231 2870 W InputDispatcher: channel '20eb12d io.flutter.examples.gallery/org.domokit.sky.shell.SkyActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
10-24 16:09:30.471 2231 2870 E InputDispatcher: channel '20eb12d io.flutter.examples.gallery/org.domokit.sky.shell.SkyActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
10-24 16:09:30.476 2231 8212 D GraphicsStats: Buffer count: 4
10-24 16:09:30.476 2231 26028 I ActivityManager: Process io.flutter.examples.gallery (pid 15164) has died
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
Hixie commentedon Oct 26, 2016
Abort, abort, @chinmaygarde says this is mistaken!
Add support for text shadows and roll engine (26 commits) (#22449)
github-actions commentedon Aug 8, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.