-
Notifications
You must be signed in to change notification settings - Fork 686
eth_getLogs causes JavaScript heap to run out of memory when forking mainnet #1575
Comments
Can you try [email protected] and let me know if it still runs into memory issues? Release notes: https://github.com/trufflesuite/ganache/releases/tag/ganache%407.0.0-alpha.2 To install globally run:
|
@davidmurdoch yes this is the version I am using
|
Ah, I see the problem in the code. Ganache attempts to fetch every block from Until we fixed this you may be able to work around it by requesting the data in chunks (maybe 10000 blocks at a time? you'll have to experiment). For a known contract like this one you can easily look up it's "Creator" transaction on Etherscan (https://etherscan.io/address/0x7e88916c4dD22D6C1d04Ec87Ca54Bf777cA0B2B6, see I'll put this bug in our backlog. Thanks for reporting it! |
Related: #145 |
Any updates on this issue or work around? I am running into this issue as well |
@CharlieMc0 we have not started on this one yet. Will the workaround that @davidmurdoch posted above not work for you? |
I'm trying to fix it with: #3692 |
Using latest published alpha version
Send rpc request
Result
increasing memory to 6GB (
node --max-old-space-size=6144
) did not helpThe text was updated successfully, but these errors were encountered: