SOLVED: virtual memory exhausted: Cannot allocate memory
I'm compiling mythtv that I got from https://github.com/MythTV/mythtv on a fedora 20 64 bit machine with 1Gb ram, 60Gb hard drive. The 'make install' command stops with "virtual memory exhausted: Cannot allocate memory". I've googled around but I can't see a solution to this problem. If I do # ulimit-a I get
Quote:
# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 7761
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 7761
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
|
I don't know what to do with these figures. I tried #ulimit -v 60000 but make install still gave the same error. I also tried #free -m
Quote:
# free -m
total used free shared buffers cached
Mem: 984 885 99 50 9 347
-/+ buffers/cache: 528 456
Swap: 0 0 0
|
Would this be solved by adding more physical ram?
|