On Sat, 2019-09-14 at 16:20 +0100, Rebecca N. Palmer wrote:
Are you running out of memory?
I don't think, I have 16GiB memory and double of it for a swap partition.
The linking step of a build can use large amounts of memory (>100x morethan the final binary size). Running out of RAM often causes a(near-)hang not a crash, even without swap.
In the old days Linux kernel was able to kill any program if starting eating more memory than it shall.
I tried to play with ulimits but failed to make this work as I expect. Help would be appreciated.
To check, try running the compile with a system monitor (e.g.gnome-system-monitor) open.
I tried with top but did not get clear suspicion. I'll try with gnome-system-monitor.
--Cheers, Abou Al Montacir
Description: This is a digitally signed message part