I have a small server for test and experiments that have 1 Gb ram and 1 Gb swap.
When I try to compile the last trinity core I get this error:
[ 98%] Built target pch_Generate_worldserver
Linking CXX executable worldserver
collect2: ld terminated with signal 9 [Killed]
make[2]: *** [src/server/worldserver/worldserver] Error 1
make[1]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/all] Error 2
make: *** [all] Error 2
In dmesg:
[ 4647.534122] Out of memory: Kill process 7016 (ld) score 921 or sacrifice child
[ 4647.534183] Killed process 7016 (ld) total-vm:1907404kB, anon-rss:902576kB, file-rss:24kB
[ 5186.478073] mysqld invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0
The server is Ubuntu Server 12.04 LTS
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
GNU ld (GNU Binutils for Ubuntu) 2.22
How much memory I need for test server with 1-2 players?