ccminer icon indicating copy to clipboard operation
ccminer copied to clipboard

GPU #0: FATAL: failed to allocate device memory for long state

Open amainiero opened this issue 8 years ago • 1 comments

I'm running a 1080 with a bat file containing:

ccminer -q -o stratum+tcp://xmr-eu1.nanopool.org:14444 -u .0. -p x PAUSE

When I launch, it runs through:

C:\Users... ... ... ... ... donations addresses ...

[2017-09-13 17:09:14] Using JSON-RPC 2.0 [2017-09-13 17:09:14] 1 miner threads started, using 'cryptonight' algorithm. [2017-09-13 17:09:14] Starting Stratum on stratum+tcp://xmr-eu1.nanopool.org:14444 [2017-09-13 17:09:14] GPU #0: GeForce GTX 1080 (20 SMX), using 40 blocks of 8 threads [2017-09-13 17:09:15] GPU #0: FATAL: failed to allocate device memory for long state

C:\Users\Spoon\Desktop\xmr video>PAUSE

How can I fix this error? I went through the help and saw no way to set a block count or memory level.

amainiero avatar Sep 14 '17 00:09 amainiero

I was since recommended to try -l AxB (for A is threads and B is blocks). My CPU requires a multiple of 20, making my only options 20 and 40, and A must be between 4 and 8 or else it wont run. Anyway, I tried -l 4x20, -l 5x20, etc; and all of them give the same issue.

amainiero avatar Sep 14 '17 00:09 amainiero