xmrig / xmrig

RandomX, KawPow, CryptoNight and GhostRider unified CPU/GPU miner and RandomX benchmark
https://xmrig.com/
GNU General Public License v3.0
8.68k stars 3.45k forks source link

why it is not work #1731

Closed tips1127 closed 4 years ago

tips1127 commented 4 years ago

it not work

Spudz76 commented 4 years ago

1.3GB free memory at start not enough for any RandomX algo. Tune system for more free memory first. Also enable hugepages so you get 100% allocation. Needs about 2.5GB free probably minimum (2080MB for dataset and then 8MB for 4 threads, so 2088MB free required but may need a little slack space also)

snipeTR commented 4 years ago

@echo off for /f "skip=1" %%p in ('wmic os get FreeVirtualMemory') do ( set m=%%p goto :done ) :done if %m% gtr 2621440 ( xmrig.exe ) else ( echo free memory is insufficient. ) pause