![]() ![]() executing: git rev-parse -abbrev-ref -symbolic +304 ms] Exit code 0 from: git rev-parse -abbrev-ref -symbolic +33 ms] origin/beta Now I need to find a way to divide it onto smaller objects flutter build apk -release -verbose Emptying this variable lets the buld run normally. The gen_snapshot.exe still allocates about 4 gigs memory before it fails, but still has some more left to allocate if necessaryĮdit 3: The error exists on the length of a Map variable object as it is extremely large. I also ran the flutter upgrade command with the same resultsĮdit 2: I added it 4 gigs more RAM (8 total) but still fails the build with the same error. ![]() I tested this on 2 different computers, and while my home PC doesn't freeze it still does fail with the same error It tops my PC's RAM, most of the time freezes it, and when it reaches the 100% RAM usage it fails (I don't have much RAM btw) Add a new variable with an absurd amount of entries : Map longMap = Įdit: I observed that a process called gen_snaphsot.exe, located in the flutter sdk folder (C:\flutter\bin\cache\artifacts\engine\android-arm-release\windows-圆4\gen_snapshot.exe) is executed while running the Gradle task 'assembleRelease'.This works fine on development mode (With the device connected / emulated to the IDE) but it fails while trying to build a release apk Steps to Reproduce This makes the object extremely large with an absurd number of entries. For that I'm creating a Map variable object with all the native words and their significance. I'm trying to make a dicionary for a native language, as there is not enough information available on the web. Solved - Read below for the description Description ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |