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
The flame_3d example (and anything I would make using flame_3d) runs for ~1 minute and then crashes due to an out of memory error. The memory tab in Flutter DevTools shows RSS memory increasing consistently over time, even if I don't interact with the app at all. Running in different modes (release vs. debug vs. profile) changes nothing.
What do you expect?
No out of memory error
How can we reproduce this?
Do flutter run on the flame_3d example (or anything that uses flame_3d) and targeting a (physical, not emulated) Google Pixel 7 pro.
Execute in a terminal and put output into the code block below
[✓] Flutter (Channel stable, 3.29.3, on Ubuntu 22.04.5 LTS 5.15.167.4-microsoft-standard-WSL2, locale C.UTF-8) [109ms]
• Flutter version 3.29.3 on channel stable at /home/user/snap/flutter/common/flutter
• Upstream repository [email protected]:flutter/flutter.git
• Framework revision ea121f8859 (3 weeks ago), 2025-04-11 19:10:07 +0000
• Engine revision cf56914b32
• Dart version 3.7.2
• DevTools version 2.42.3
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1) [2.4s]
• Android SDK at /home/user/Android/Sdk
• Platform android-35, build-tools 35.0.1
• ANDROID_HOME = /home/user/Android/Sdk
• Java binary at: /snap/android-studio/192/jbr/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: flutter config --jdk-dir="path/to/jdk".
• Java version OpenJDK Runtime Environment (build 21.0.6+-13355223-b631.42)
• All Android licenses accepted.
[✓] Chrome - develop for the web [21ms]
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop [909ms]
• clang version 10.0.0-4ubuntu1
• cmake version 3.16.3
• ninja version 1.10.0
• pkg-config version 0.29.1
[✓] Network resources [356ms]
• All expected network resources are available.
• No issues found!
Affected platforms
Android
Other information
I don't have any other physical Android devices to test with. I'm not sure if it's just my phone that's the problem; although, if it is, I would be grateful for advice to fix it.
Are you interested in working on a PR for this?
I want to work on this
The text was updated successfully, but these errors were encountered:
What happened?
The flame_3d example (and anything I would make using flame_3d) runs for ~1 minute and then crashes due to an out of memory error. The memory tab in Flutter DevTools shows RSS memory increasing consistently over time, even if I don't interact with the app at all. Running in different modes (release vs. debug vs. profile) changes nothing.
What do you expect?
No out of memory error
How can we reproduce this?
Do
flutter run
on theflame_3d
example (or anything that usesflame_3d
) and targeting a (physical, not emulated) Google Pixel 7 pro.What steps should take to fix this?
No response
Do have an example of where the bug occurs?
The flame_3d example (or any code using flame_3d)
Relevant log output
Execute in a terminal and put output into the code block below
[✓] Flutter (Channel stable, 3.29.3, on Ubuntu 22.04.5 LTS 5.15.167.4-microsoft-standard-WSL2, locale C.UTF-8) [109ms]
• Flutter version 3.29.3 on channel stable at /home/user/snap/flutter/common/flutter
• Upstream repository [email protected]:flutter/flutter.git
• Framework revision ea121f8859 (3 weeks ago), 2025-04-11 19:10:07 +0000
• Engine revision cf56914b32
• Dart version 3.7.2
• DevTools version 2.42.3
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1) [2.4s]
• Android SDK at /home/user/Android/Sdk
• Platform android-35, build-tools 35.0.1
• ANDROID_HOME = /home/user/Android/Sdk
• Java binary at: /snap/android-studio/192/jbr/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use:
flutter config --jdk-dir="path/to/jdk"
.• Java version OpenJDK Runtime Environment (build 21.0.6+-13355223-b631.42)
• All Android licenses accepted.
[✓] Chrome - develop for the web [21ms]
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop [909ms]
• clang version 10.0.0-4ubuntu1
• cmake version 3.16.3
• ninja version 1.10.0
• pkg-config version 0.29.1
[✓] Android Studio (version 2024.3) [18ms]
• Android Studio at /snap/android-studio/192
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.6+-13355223-b631.42)
[✓] Connected device (3 available) [188ms]
• Pixel 7 Pro (mobile) • ip:port • android-arm64 • Android 15 (API 35)
• Linux (desktop) • linux • linux-x64 • Ubuntu 22.04.5 LTS 5.15.167.4-microsoft-standard-WSL2
• Chrome (web) • chrome • web-javascript • Google Chrome 132.0.6834.159
[✓] Network resources [356ms]
• All expected network resources are available.
• No issues found!
Affected platforms
Android
Other information
I don't have any other physical Android devices to test with. I'm not sure if it's just my phone that's the problem; although, if it is, I would be grateful for advice to fix it.
Are you interested in working on a PR for this?
The text was updated successfully, but these errors were encountered: