unity-builder icon indicating copy to clipboard operation
unity-builder copied to clipboard

Cannot configure Docker to use more than 1GB of memory when running a Windows build on Windows

Open wilg opened this issue 2 years ago • 1 comments

Absolutely losing my mind trying to figure out why Docker on Windows has a 1GB memory limit that won't allow my app to build. This seems to be the issue: https://stackoverflow.com/questions/43460770/docker-windows-container-memory-limit but none of the workarounds seem to work properly. I think passing a -m flag or whatever into the usage of Docker from unity-builder might work, but I have no idea. Any help is greatly appreciated. Using a local action runner on Windows 11 Pro.

wilg avatar Sep 11 '22 01:09 wilg

I forked it to allow me to just pass memory and cpu count vars, since I could not figure out how to change the defaults. https://github.com/wilg/unity-builder

wilg avatar Sep 19 '22 22:09 wilg

Try updating to v4 and see if this is solved now. It should automatically pick a higher limit now but you can manually override the value too.

AndrewKahr avatar Nov 15 '23 15:11 AndrewKahr