Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

System.OutOfMemoryException: ethash_full_new IO or memory error #186

@Konstantin35

Description

@Konstantin35

This problem

  • Windows Server 2016
  • RAM: 12G
  • parity: Parity/v1.8.6-beta-2d051e4-20180109/x86_64-windows-msvc/rustc1.22.1
C:\POOL>dotnet C:\miningcore\build\MiningCore.dll -c C:\POOL\config.json

 ███╗   ███╗██╗███╗   ██╗██╗███╗   ██╗ ██████╗  ██████╗ ██████╗ ██████╗ ███████╗
 ████╗ ████║██║████╗  ██║██║████╗  ██║██╔════╝ ██╔════╝██╔═══██╗██╔══██╗██╔════╝
 ██╔████╔██║██║██╔██╗ ██║██║██╔██╗ ██║██║  ███╗██║     ██║   ██║██████╔╝█████╗
 ██║╚██╔╝██║██║██║╚██╗██║██║██║╚██╗██║██║   ██║██║     ██║   ██║██╔══██╗██╔══╝
 ██║ ╚═╝ ██║██║██║ ╚████║██║██║ ╚████║╚██████╔╝╚██████╗╚██████╔╝██║  ██║███████╗

 https://github.com/coinfoundry/miningcore

 Please contribute to the development of the project by donating:

 BTC - 17QnVor1B6oK1rWnVVBrdX9gFzVkZZbhDm
 ETH - 0xcb55abBfe361B12323eb952110cE33d5F28BeeE1
 LTC - LTK6CWastkmBzGxgQhTTtCUjkjDA14kxzC
 XMR - 475YVJbPHPedudkhrcNp1wDcLMTGYusGPF5fqE7XjnragVLPdqbCHBdZg3dF4dN9hXMjjvGbykS6a77dTAQvGrpiQqHp2eH

Using configuration file C:\POOL\config.json

[2018-01-21 16:20:31.8787] [I] [ShareRecorder] Online
[2018-01-21 16:20:32.0792] [I] [ApiServer] Launching ...
[2018-01-21 16:20:32.8623] [I] [ApiServer] Online @ 127.0.0.1:4000
[2018-01-21 16:20:32.9021] [I] [PayoutManager] Online
[2018-01-21 16:20:32.9021] [I] [StatsRecorder] Online
[2018-01-21 16:20:32.9021] [I] [PayoutManager] Processing payments for pool exp1
[2018-01-21 16:20:33.0075] [I] [exp1] [Pool] Launching ...
[2018-01-21 16:20:33.3661] [I] [exp1] [Ethereum Job Manager] Launching ...
[2018-01-21 16:20:34.4479] [I] [exp1] [Ethereum Job Manager] All daemons online
[2018-01-21 16:20:34.5515] [I] [exp1] [Ethereum Job Manager] All daemons synched with blockchain
[2018-01-21 16:20:34.9610] [I] [exp1] [Ethereum Job Manager] Waiting for first valid block template
[2018-01-21 16:20:36.9749] [I] [PayoutManager] No updated blocks for pool exp1
[2018-01-21 16:20:37.1230] [I] [PayoutManager] No balances over configured minimum payout for pool exp1
[2018-01-21 16:20:40.0608] [I] [Dag] Generating DAG for epoch 1
[2018-01-21 16:20:40.0608] [I] [Dag] Generating DAG for epoch 0
[2018-01-21 16:20:42.0515] [E] [exp1] System.OutOfMemoryException: ethash_full_new IO or memory error
   at MiningCore.Crypto.Hashing.Ethash.Dag.<>c__DisplayClass15_0.<GenerateAsync>b__0() in C:\miningcore\src\MiningCore\Crypto\Hashing\Ethash\Dag.cs:line 66
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Crypto.Hashing.Ethash.Dag.<GenerateAsync>d__15.MoveNext() in C:\miningcore\src\MiningCore\Crypto\Hashing\Ethash\Dag.cs:line 64
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Crypto.Hashing.Ethash.EthashFull.<GetDagAsync>d__9.MoveNext() in C:\miningcore\src\MiningCore\Crypto\Hashing\Ethash\EthashFull.cs:line 93
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumJobManager.<PostStartInitAsync>d__39.MoveNext() in C:\miningcore\src\MiningCore\Blockchain\Ethereum\EthereumJobManager.cs:line 565
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.JobManagerBase`1.<StartAsync>d__19.MoveNext() in C:\miningcore\src\MiningCore\Blockchain\JobManagerBase.cs:line 113
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumPool.<SetupJobManager>d__8.MoveNext() in C:\miningcore\src\MiningCore\Blockchain\Ethereum\EthereumPool.cs:line 265
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Mining.PoolBase`1.<StartAsync>d__41.MoveNext() in C:\miningcore\src\MiningCore\Mining\PoolBase.cs:line 424 System.OutOfMemoryException: ethash_full_new IO or memory error
   at MiningCore.Crypto.Hashing.Ethash.Dag.<>c__DisplayClass15_0.<GenerateAsync>b__0() in C:\miningcore\src\MiningCore\Crypto\Hashing\Ethash\Dag.cs:line 66
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Crypto.Hashing.Ethash.Dag.<GenerateAsync>d__15.MoveNext() in C:\miningcore\src\MiningCore\Crypto\Hashing\Ethash\Dag.cs:line 64
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Crypto.Hashing.Ethash.EthashFull.<GetDagAsync>d__9.MoveNext() in C:\miningcore\src\MiningCore\Crypto\Hashing\Ethash\EthashFull.cs:line 93
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumJobManager.<PostStartInitAsync>d__39.MoveNext() in C:\miningcore\src\MiningCore\Blockchain\Ethereum\EthereumJobManager.cs:line 565
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.JobManagerBase`1.<StartAsync>d__19.MoveNext() in C:\miningcore\src\MiningCore\Blockchain\JobManagerBase.cs:line 113
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumPool.<SetupJobManager>d__8.MoveNext() in C:\miningcore\src\MiningCore\Blockchain\Ethereum\EthereumPool.cs:line 265
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Mining.PoolBase`1.<StartAsync>d__41.MoveNext() in C:\miningcore\src\MiningCore\Mining\PoolBase.cs:line 424    at MiningCore.Crypto.Hashing.Ethash.Dag.<>c__DisplayClass15_0.<GenerateAsync>b__0() in C:\miningcore\src\MiningCore\Crypto\Hashing\Ethash\Dag.cs:line 66
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Crypto.Hashing.Ethash.Dag.<GenerateAsync>d__15.MoveNext() in C:\miningcore\src\MiningCore\Crypto\Hashing\Ethash\Dag.cs:line 64
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Crypto.Hashing.Ethash.EthashFull.<GetDagAsync>d__9.MoveNext() in C:\miningcore\src\MiningCore\Crypto\Hashing\Ethash\EthashFull.cs:line 93
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumJobManager.<PostStartInitAsync>d__39.MoveNext() in C:\miningcore\src\MiningCore\Blockchain\Ethereum\EthereumJobManager.cs:line 565
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.JobManagerBase`1.<StartAsync>d__19.MoveNext() in C:\miningcore\src\MiningCore\Blockchain\JobManagerBase.cs:line 113
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumPool.<SetupJobManager>d__8.MoveNext() in C:\miningcore\src\MiningCore\Blockchain\Ethereum\EthereumPool.cs:line 265
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Mining.PoolBase`1.<StartAsync>d__41.MoveNext() in C:\miningcore\src\MiningCore\Mining\PoolBase.cs:line 424
System.AggregateException: One or more errors occurred. (ethash_full_new IO or memory error) ---> System.OutOfMemoryException: ethash_full_new IO or memory error
   at MiningCore.Crypto.Hashing.Ethash.Dag.<>c__DisplayClass15_0.<GenerateAsync>b__0() in C:\miningcore\src\MiningCore\Crypto\Hashing\Ethash\Dag.cs:line 66
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Crypto.Hashing.Ethash.Dag.<GenerateAsync>d__15.MoveNext() in C:\miningcore\src\MiningCore\Crypto\Hashing\Ethash\Dag.cs:line 64
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Crypto.Hashing.Ethash.EthashFull.<GetDagAsync>d__9.MoveNext() in C:\miningcore\src\MiningCore\Crypto\Hashing\Ethash\EthashFull.cs:line 93
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumJobManager.<PostStartInitAsync>d__39.MoveNext() in C:\miningcore\src\MiningCore\Blockchain\Ethereum\EthereumJobManager.cs:line 565
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.JobManagerBase`1.<StartAsync>d__19.MoveNext() in C:\miningcore\src\MiningCore\Blockchain\JobManagerBase.cs:line 113
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumPool.<SetupJobManager>d__8.MoveNext() in C:\miningcore\src\MiningCore\Blockchain\Ethereum\EthereumPool.cs:line 265
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Mining.PoolBase`1.<StartAsync>d__41.MoveNext() in C:\miningcore\src\MiningCore\Mining\PoolBase.cs:line 458
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Program.<>c.<<Start>b__28_2>d.MoveNext() in C:\miningcore\src\MiningCore\Program.cs:line 568
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Program.<Start>d__28.MoveNext() in C:\miningcore\src\MiningCore\Program.cs:line 554
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at MiningCore.Program.Main(String[] args) in C:\miningcore\src\MiningCore\Program.cs:line 85
---> (Inner Exception #0) System.OutOfMemoryException: ethash_full_new IO or memory error
   at MiningCore.Crypto.Hashing.Ethash.Dag.<>c__DisplayClass15_0.<GenerateAsync>b__0() in C:\miningcore\src\MiningCore\Crypto\Hashing\Ethash\Dag.cs:line 66
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Crypto.Hashing.Ethash.Dag.<GenerateAsync>d__15.MoveNext() in C:\miningcore\src\MiningCore\Crypto\Hashing\Ethash\Dag.cs:line 64
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Crypto.Hashing.Ethash.EthashFull.<GetDagAsync>d__9.MoveNext() in C:\miningcore\src\MiningCore\Crypto\Hashing\Ethash\EthashFull.cs:line 93
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumJobManager.<PostStartInitAsync>d__39.MoveNext() in C:\miningcore\src\MiningCore\Blockchain\Ethereum\EthereumJobManager.cs:line 565
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.JobManagerBase`1.<StartAsync>d__19.MoveNext() in C:\miningcore\src\MiningCore\Blockchain\JobManagerBase.cs:line 113
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Blockchain.Ethereum.EthereumPool.<SetupJobManager>d__8.MoveNext() in C:\miningcore\src\MiningCore\Blockchain\Ethereum\EthereumPool.cs:line 265
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Mining.PoolBase`1.<StartAsync>d__41.MoveNext() in C:\miningcore\src\MiningCore\Mining\PoolBase.cs:line 458
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Program.<>c.<<Start>b__28_2>d.MoveNext() in C:\miningcore\src\MiningCore\Program.cs:line 568
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MiningCore.Program.<Start>d__28.MoveNext() in C:\miningcore\src\MiningCore\Program.cs:line 554<---

Cluster cannot start. Good Bye!
[2018-01-21 16:20:42.9106] [I] [StatsRecorder] Updating hashrates for pool exp1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions