- Home /
Android build memory usage (out of memory) editor vs command line
Hi, I have an app that if I build using the Unity Editor GUI, it builds fine. Memory usage gets up to about 6 GB max.
When I build the exact same project from the command line, I see clang++.exe using up all my system memory (16GB) and the build fails with a out of memory error.
Why would this be? Are there options I'm not aware of that the editor defaults to when running from the GUI, and if so, what are they? Also, this is the TeamCity Unity plugin I'm using to build from command line.
Attached are my Editor build settings that work fine.
These are the options I set in my builder script for command line: buildPlayerOptions.options = BuildOptions.Development | BuildOptions.AllowDebugging | BuildOptions.EnableDeepProfilingSupport | BuildOptions.CompressWithLz4;
Your answer
Follow this Question
Related Questions
Unable To Understand Android Crash : android.view.ViewGroup.offsetRectBetweenParentAndChild 0 Answers
NavMesh - fatal error during baking 0 Answers
Out of memory errors on iOS with 64-bit build 1 Answer
Android app crashed on build and run "no errors , build with resualt of Succede." 1 Answer
Out of memory loading between levels 1 Answer