-
-
Notifications
You must be signed in to change notification settings - Fork 689
[ETH][ETC] Dag creation error - System.OutOfMemoryException: ethash_full_new IO or memory error #325
Comments
Fix the settings |
@Konstantin35 I've already tried these options: "dagDir": "c:\eth\dag" nothing changed. By the way , what do you mean with "automatic selection of the swap file" ? |
The bug is at this line in io.c
Regarding The 64 bit needs to use fseeko for linux and _fseeki64 for windows. Soon I will be sending PR but I am sure repo owner can fix this quickly. |
@eakova Nice analysis. |
I've applied #329 but miningcore still crashes when generating the dag. Also added a swap file to the server and set the dagDir in the config file but the problem still exists. |
changing it to: for windows 10 worked for me. additionally, changing the cast type. |
Hey guys, |
Note
Since there is a closed issue and #186 , It could be better to have open a new one to review this problem.
Current dev and master branch code fails while ETH and ETC dag creation.
Attaching C++ native projects to the solution could help other developers( like me) to fix the issue. it's quite hard to debug with preloaded dlls.
Description
ETH and ETC dag creation stops the node with this error:
System.OutOfMemoryException: ethash_full_new IO or memory error
Steps to Reproduce
OS: Windows 10 or Windows 2012 Datacenter
Ram: 12 GB Ram
CPU: 6 Core AMD
Parity v1.10.0-20180320 beta
Parity , Postgres and VS 2017 are installed in the same VMs.
Already tried these options:
"dagDir": "c:\eth\dag\"
"dagDir": "c:/eth/dag/",
"dagDir": "/eth/dag/",
config.js is below:
Expected behavior
Proper DAG creation without error.
Actual behavior
0 sized DAG created with memory error.
The text was updated successfully, but these errors were encountered: