payonel / ocvm

OpenComputer Emulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build issue on system with limited memory

DCNick3 opened this issue · comments

When ran on system with low amount of memory available build does not work, because of hardcoded -j4 flag in Makefile (many g++ processes begin to eat memory, and lunix starts to swap memory very hard, which leads to system hanging or even OOM-killer waking up). I suggest removing MAKEFLAGS+="-j 4" line from Makefile, or adding some environment variable so this behavior could be disabled without editing Makefile.

fixed in 41bf80a