-
Notifications
You must be signed in to change notification settings - Fork 327
memory alloc failed: virtualalloc failed. happened when there are a lot of programs running at the same times #652
Comments
You will need to increase the Virtual Memory Size, that should fix it "Computer Properties / Advanced System Settings / Performance / Advanced / Virtual Memory". |
how much should i increase? my physical RAM is 8GB. Windows 10 Pro x64 right now is |
Put it too 16gb |
thanks!. solved. |
Setting virtual memory to 16000 didn’t solve this for me. |
Even though i make sure my user is added to the group i seem to get the error after a couple of re-runs. |
You must be sure that you have enough space left on your System Drive in order to set such amount of virtual memory. Happened to me once, when my free space on drive C: went below 32 GB (and I had 32 GB virtual memory setup). Until I cleaned my SSD and got something like 36+ free GB space, I was not able to get rid of that annoying error. |
I was having this problem even with lots of free space and RAM, but after a bit of searching, I found a helpful utility, from Microsoft of all people: RAMMap https://docs.microsoft.com/en-us/sysinternals/downloads/rammap. |
Out of curiosity.. I am new to this mining stuff.. do these errors even matter if they pop up then the miner runs anyhow? Is it less efficient due to them or ? I was able to get mine to go away (mostly) with the increase in virtual memory and the group policy edit, so thanks! Just wondering. |
Out of curiosity, has anyone had any success in mitigating these messages? I am running pretty smoothly as a whole, but still see these every time I start it up. |
This thread helped me. And I want to add one more step. |
Thanks, @Tsaroz your tip helped me to get rid of the error messages but now my Cryptonight performance has dropped to ~175H/s from ~350H/s I have 8GB of physical ram, set page file to 20000-30000 and set lock memory pages to everyone and myself =\ edit0: now it has jumped up to ~285.. it has done this before where the hashrate seems variable somehow |
I would love to know how to get better speeds. |
To summarize:
|
hey all, I have done everything listed here to get my E3-1225 v2 mining on NiceHash (the app available since they've risen from their ashes), with no success. set to run as Admin thoughts? |
I did the same:
No success. |
What's the problem? Still memory alloc failed: virtualalloc failed ? |
Actually I restarted the computer 2 times and directly the NicehashMiner Software after booting. Right now it's OK. |
did the same, no succes. had between 900 - 1000 h/s and now 150 h/s
/edit it worked over group policys. If you dont have gpedit.msc load this, it worked for me: https://www.itechtics.com/easily-enable-group-policy-editor-gpedit-msc-in-windows-10-home-edition/ what a relief, rly thought my cards was damaged. |
It's a good idea to RESTART THE COMPUTER after all the steps mentioned here. My procedure was:
no admin rights needed during the start of the nicehash |
Here is your solution for this memory related issue, This error appear because of virtual memory set low in your PC, its not related to graphics card. |
Hello just downloaded the miner..i says connected but its not mining any thing.. ive tried the above ideas but im pretty new to this so any advice for a newbie |
what you guys are neglecting to include is this step: User Account Control. You cannot run a executable as admin, unless you disable it. It is accessed via your control panel under User Accounts. Mine works after making the modification AND doing the run as admin checkbox in the compatibility tab when selecting properties for the xmr-stak.exe AND Nicehashminderlegacy.exe I also did the lock pages mod as well, not sure if it relates, but might need it too |
@cheyennefisher2009 There are two CMD windows that will be open and running while NH mines. One of them has what youre mining on it. |
when i start the windows without running any programs, it works fine. I stop the mining and run several programs at the background. After which, I start to mine again and memory alloc failed. How do I fix this?
I do not wish to close the background programs as I'm doing other stuffs at the same time. Thanks.
The text was updated successfully, but these errors were encountered: