I try to build ChaiScript on a remote virtual machine with only 512MB RAM. When compiling with gcc 6.2.0 the machine runs out of memory Are there any tricks to reduce the memory footprint?
Fyi: I found that Clang++ 3.8 has the lowest memory consumption but still too much. This makes ChaisScript not compilable on small device
Unfortunately the template work I'm doing does require a lot of RAM with modern compilers. Interestingly, you might have better results with MSVC, but I'm guessing you're not using Windows.
Yeah, windows is not an option. I ordered a new dev machine. 4GB RAM should be enough hopefully.