# Minimum memory for CPU mining?

**URL:** <https://forum.grin.mw/t/minimum-memory-for-cpu-mining/1660>\
**Category:** Mining\
**Created:** [January 2, 2019, 3:21pm UTC](https://forum.grin.mw/t/minimum-memory-for-cpu-mining/1660 "2019-01-02T15:21:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpetrou](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dpetrou](https://forum.grin.mw/u/dpetrou)\
**Post date:** [January 2, 2019, 3:21pm UTC](https://forum.grin.mw/t/minimum-memory-for-cpu-mining/1660/1 "2019-01-02T15:21:34Z")

</div>

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.

Thanks,  
David

---

<div class="post-metadata">

**Author:** ![dpetrou](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dpetrou](https://forum.grin.mw/u/dpetrou)\
**Post date:** [January 4, 2019, 2:21pm UTC](https://forum.grin.mw/t/minimum-memory-for-cpu-mining/1660/2 "2019-01-04T14:21:50Z")

</div>

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