Minimum memory for CPU mining?

Hi, I’m just trying to get grin-miner working; I’m not trying to beat any records. I have a vanilla build with a vanilla toml configuration file. When I run grin-miner, it gets SIGKILL’d pretty much immediately after connecting to my grin server. “dmesg” reports:

[ 4767.004953] Out of memory: Kill process 4024 (grin-miner) score 738 or sacrifice child
[ 4767.004964] Killed process 4024 (grin-miner) total-vm:4268340kB, anon-rss:3332204kB, file-rss:0kB, shmem-rss:0kB
[ 4767.093858] oom_reaper: reaped process 4024 (grin-miner), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

I had thought 2.5GB to 4GB would be the minimum, but I get the above on a VirtualBox machine of 4GB. Is the official minimum documented? Sorry if I’ve missed it.


1 Like

FWIW, up’ing my VM to 5GB solved the problem. Perhaps memory requirements should be documented (apologies again if I missed it). David

1 Like