Skip to content
Advertisement

Unable to compile flutter app in release mode on linux

I am running a linux app on a Debian 11 arm 64 in debug mode and everything is fine, please see the logs in my github issue because it was too long for SO.

When i try to run it in release or profile mode, the flutter tool doesn’t seem able to compile :

JavaScript

It seems to be thrown with Target kernel_snapshot failed: Exception but i have no other error logs so i can’t know what is actually failing…

Edit : The issue comes from something ran by ninja :

JavaScript

Advertisement

Answer

I have found the solution, i had to increase my RAM to 4Go on my Debian 11 from 1Go.

I had not enough memory to be able to compile in release mode.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement