JavaScript heap out of memory #5943
Unanswered
clauBv23
asked this question in
Troubleshooting
Replies: 1 comment 2 replies
-
Is it only for coverage you are seeing the out of memory? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there I'm receiving
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
when running
hh coverage
. I have seen that this issue is normally related to old versions of hardhat and/or solidity-coverage however I started having the error after upgradinghardhat
to the latest. I might have other related repos outdated tho.Is there any idea of what could be happening, how fix this problem, or what repos I could try to upgrade to fix this?
This are my current dependencies
Increasing the size of node options solves the issue, but since contract size and test count are in normal ranges, and they used to work previously, I would like to identify the root cause of the problem.
EDIT:
it works with
"solidity-coverage": "0.8.2"
and"hardhat": "2.12.7"
Beta Was this translation helpful? Give feedback.
All reactions