steemit / steem

The blockchain for Smart Media Tokens (SMTs) and decentralized applications.
https://steem.com
Other
1.95k stars 793 forks source link

Memory needed to build and run steem #3655

Open lidinghi opened 4 years ago

lidinghi commented 4 years ago

I tried to build steemit/steem on Ubuntu inside a virtual machine on my Windows computer. I assigned 500G space and 12G memory to the virtual machine/Ubuntu.

However, I constantly got thec++: internal compiler error: killed (program cc1plus) error when building steemit/steem (docker build -t=steemit/steem .). The same error showed up when I attempted to build steemit/steem on my Mac.

I learned that this error is often due to "not enough memory" for docker and in Linux the memory for docker is bounded by the hardware.

I wonder what are the hardware requirements for building and running steemit/steem? I plan to purchase another 16G RAM for my computer. Will additional ~10G memory help?

Or this error actually caused by problems other than memory?

Benson0224 commented 4 years ago

4 CPU (Minimum CPU) 64 GB RAM (recommend minimum). 500 GB SSD (200GB minimum).