I'm having Exhausted heap space issues with Flutter v2.10.5, I'm developing on MacOS and running on iPadOS.
Flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.6 21G115 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.71.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
• No issues found!
Error output:
Exhausted heap space, trying to allocate 48 bytes.
Exhausted heap space, trying to allocate 32 bytes.
Exhausted heap space, trying to allocate 48 bytes.
Exhausted heap space, trying to allocate 32 bytes.
Exhausted heap space, trying to allocate 48 bytes.
Exhausted heap space, trying to allocate 32 bytes.
Exhausted heap space, trying to allocate 48 bytes.
Exhausted heap space, trying to allocate 32 bytes.
Exhausted heap space, trying to allocate 48 bytes.
Exhausted heap space, trying to allocate 32 bytes.
It may be something about a plugin, as in Android it doesn't show any problem
flutter clean doesn't help
flutter upgrade neither, as I'd like to keep working on 2.10.5
The most common crash error is:
Reloaded 1 of 2289 libraries in 3,398ms.
* thread #10, name = 'io.flutter.1.ui', stop reason = EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=2867 MB, unused=0x0)`
frame #0: 0x00000001036261e4 Flutter`dart::DebuggerStackTrace::CollectAsyncLazy() + 1072
Flutter`dart::DebuggerStackTrace::CollectAsyncLazy:
-> 0x1036261e4 <+1072>: str x0, [x24, #0x18]
0x1036261e8 <+1076>: bl 0x103625900 ; dart::Code::ZoneHandle()
0x1036261ec <+1080>: str x0, [x24, #0x20]
0x1036261f0 <+1084>: bl 0x103625934 ; dart::Function::ZoneHandle()
Target 0: (Runner) stopped.
I don't actually know what info may help with this, so ask anything