iron-fish / ironfish

A novel cryptocurrency focused on privacy and accessibility.
https://ironfish.network
Mozilla Public License 2.0
963 stars 574 forks source link

v0.1.20 crash while mining #928

Closed tsonghua closed 2 years ago

tsonghua commented 2 years ago

Description

v 0.1.20 crash while mining

image

Kupuyc commented 2 years ago

@tsonghua You may try to extend memory limit. Change this line to next: "start:js": "cross-env NODE_OPTIONS=--max_old_space_size=8192 OCLIF_TS_NODE=0 IRONFISH_DEBUG=1 node bin/run",

By default limit ~4 Gb but we set it to 8 Gb. It may help.

P.S. Don't forget to restart the miners.

jrwashburn commented 2 years ago

All my v 0.1.21 miners also crashed with this overnight. Haven't seen it before; will extend limit, but is this hiding a leak?

Kupuyc commented 2 years ago

It does. This issue pretty rare and extending of memory limit had chance to solve it. But looks like, unfortunately, it doesn't work. Could you specify your nodejs version?

jrwashburn commented 2 years ago

It does. This issue pretty rare and extending of memory limit had chance to solve it. But looks like, unfortunately, it doesn't work. Could you specify your nodejs version?

v16.13.2

deekerno commented 2 years ago

Does this issue still persist after the latest update?

jrwashburn commented 2 years ago

Due to #1008 I'm not able to run, so I cannot confirm.

lwisne commented 2 years ago

Are you still having issues here?

jrwashburn commented 2 years ago

I am not; however, I haven't run miners since 0.1.37. Not sure for OP.

lwisne commented 2 years ago

Thanks for the feedback - closing due to age of the issue + being tied to a very old version.