Post
Topic
Board Mining (Altcoins)
Topic OP
NiceHash Memory Alloc and black/blue screen issues
by
george357
on 14/06/2017, 05:58:19 UTC
My System:
Ryzen 7 1800x
Gigabyte AB350 Gaming 3 Motherboard
32GB Gskill Trident Z RAM at 2133Mhz
Sapphire Nitro+ OC RX480 8GB
all settings are out of the box with no OC'ing done by me.

First problem is I get this error set every time I start xmr stak cpu miner:

[2017-06-09 16:43:51] : MEMORY INIT ERROR: Obtaning SeLockMemoryPrivilege failed.
[2017-06-09 16:43:51] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2017-06-09 16:43:51] : MEMORY ALLOC FAILED: VirtualAlloc failed.

XMR-Stak-CPU mining software, CPU Version.
Based on CPU mining code by wolf9466 (heavily optimized by myself).
Brought to you by fireice_uk under GPLv3.
Configurable dev donation level is set to 0.0 %
You can use following keys to display reports:
'h' - hashrate
'r' - results
'c' - connection

[2017-06-09 16:43:51] : Starting single thread, no affinity.
[2017-06-09 16:43:51] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2017-06-09 16:43:51] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2017-06-09 16:43:51] : Starting single thread, no affinity.
[2017-06-09 16:43:51] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2017-06-09 16:43:51] : Starting single thread, no affinity.
[2017-06-09 16:43:51] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2017-06-09 16:43:51] : Starting single thread, no affinity.
[2017-06-09 16:43:51] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2017-06-09 16:43:51] : Starting single thread, no affinity.
[2017-06-09 16:43:51] : Starting single thread, no affinity.
[2017-06-09 16:43:51] : MEMORY ALLOC FAILED: VirtualAlloc failed.
[2017-06-09 16:43:51] : MEMORY ALLOC FAILED: VirtualAlloc failed.

The second issue I have is that 3rd Party miners black screen crash within a couple of hours but the regular miners run fine with no problems, just less profit.

What I have tried so far:

My paging file is set manually to 32GB max which is my RAM size.
All optimizations and setting I could find here, on github and various mining sites.
Verified that my System is not crashing due to heat.
If I run NiceHash as administrator I do not get the Memory Allocation Errors but it black screen crashes in less than an hour.
The few Blue Screens I have got are irql not equal or less than caused by atikmdag.sys
My memory passes a full run of Memtest 86.
I have tried AMD Drivers 17.6.1, 17.4.4, 16.11.5 and 15.11.
I have tried running NiceHash as admin with and without 3rd party miners and it always crashes within the hour. As stated above if I start NiceHash with normal permissions and no 3rd party miners it runs fine just at half the profit margin (~$4 a day instead of ~$7).

Anyone have an idea on what to try next?