It uses 1GB per thread, so if your setup has less GB than threads, you need to reduce # of threads.
Here is what I did with one server that has 24 threads and only 8GB of RAM:
nthreads = 3 av=3 (that turns off hyper threading) - and run this twice. But as a start I just ran one process with 6 threads using avg.
Then use a regular miner that only uses 1GB of RAM with the other 18 threads.
so 6GB + 1GB + whatever is left for the code/system fits in 8GB of RAM and those servers produce about 7HPM, not spectacular but they only did 4HPM before that. In the pools however this reports as 10-11HPM so not sure which one is the correct.
For the ones that report as 31HPM in the server and about 40-45HPM in the pool, they are 32 cores with 64GB of RAM. Yes - I found a fantastic deal for those servers, but I can not tell you where I got them from since that might affect my ability to get more.
Cheers! Hope this is helpful.
Ok, I understand the problem. This is a 2cpu/2GB vps, but of course the OS needs some ram as well. I edited the config file as below, but then I get the message "Error: Parameter [nthreads] not supported for ProtoShares". Sorry if I'm being really noobish here...
mining-params = mmc:av=3&aesni=on&nthreads=3
mine = getwork://[email protected]:80:8880:8881:8882:8883/mmc
mine = getwork://[email protected]:8080:8081:8082:8083/mmc
#proxy = socks4a://127.0.0.1:9150
compact-stats = 1
print-timestamps = 0
Hmm... there is threads=0 at the top, don't add it as &nthreads=3 to mining params, that's not how it works. And also you can't have 3 threads on 2GB.
Use yam -c yam-mmc.cfg. protoshares is PTS, MemoryCoin is MMC.