3 ms·
I have access to a build machine with 256GB of RAM and it suffers from OOM killing during certain builds unless I allocate like 2GB of swap
by laweijfmvo 2y ago
I have access to a build machine with 256GB of RAM and it suffers from OOM killing during certain builds unless I allocate like 2GB of swap
- nucleardog 2y agoYeah I'm not trying to say "64GB is enough for anyone!" so much as "I have way more RAM than I realistically need for my workloads." I've got all the things I need open right now and `free` shows I've got 40GB of RAM available. If your workloads involve using more RAM than you have you can... add more RAM, use swap/zram/etc, or just not do that thing. Absolutely makes sense to me to throw some swap into the mix. I'd probably do the same if it were an infrequent use case (otherwise preferring to just add more RAM). But also absolutely makes sense to me to not have any swap enabled on this machine right now.