Error "Couldn't reserve space for cygwin's heap, Win32 error 0" after SW4STM32 update
As the linked StackOverflow article suggested, a system restart stopped that crash.
But then I got a different crash part way through a build.
I just repeated the build, and it completed without crashing.
This whole thing is looking rather flaky...