I installed Visual Studio Code and PlatformIO on a Raspberry Pi 3 running headless. I connect via XORG. As a test case, I tried to compile Tasmota. It gets part way through and then hangs with the Resource Monitor at 100%. If a wait a really, really long time, Visual Studio Code will tell me the Windows is not responding and give me the option to close it. I can then re-open Visual Studio Code and restart the build, it will get further, because it finds some stuff already compiled. However, it will then hang again.
Are others able to actually build on the older PIs, like Pi3?
Is there some setting that would throttle it and keep it from running out of resources?
The reason I am trying to build on the Raspberry PI, is that I want a portable development environment. I want to use the same development environment during spare time at work and also at home or on the road. Initially I tried to run portable from a USB HD drive. However, that worked for Visual Studio Code, but not for the PlatformIO extension. The next best thing to carrying the HD around would be to carry the PI around.
Thanks.