This is on a Hyper-V machine. I've set the min RAM to 512 and the max to 2048. The host machine has more then enough RAM.
Does Linux have an issue with Dynamic RAM on Hyper-V? I can't seem to figure out why we are having memory issues.
EDIT: I also just disabled Dynamic RAM and set the min/start up to 2048MB. Still crashed with Memory shortage issues.
EDIT:
[root@localhost ~]# free -m
total used free shared buffers cached
Mem: 1869 1240 629 0 27 1049
-/+ buffers/cache: 162 1706
Swap: 991 6 985
That is during the compile. I will post on the fail. Last time I did it, the system still had a good amount of RAM free on the crash.
PS: I've noticed that if I try and use make -j
to use more processors(12), the compile will crash almost instantly.
Here is an example at 4GB Dedicated using the make -j option. The compile crashed right a little after make -j
.
EDIT3: I was able to compile the kernel finally without using the -j option but why Hyper-V is giving me memory errors like this is weird. Still doing some debugging.
free -m
to your answer?