foundry-rs / book

A book on all things Foundry, available at https://book.getfoundry.sh.
https://book.getfoundry.sh
Apache License 2.0
816 stars 652 forks source link

docs(`anvil`) `--transaction-block-keeper` flag is not documented #1347

Open sabotagebeats opened 1 year ago

sabotagebeats commented 1 year ago

Component

Anvil

Describe the feature you would like

there is a memory leak in anvil. it causes my anvil node to fail in docker. I am trying to reduce memory usage.

the --transaction-block-keeper switch does not seem to be documented so I am not sure what it is doing exactly.

Additional context

https://github.com/foundry-rs/foundry/issues/3478

wakamex commented 1 year ago

I also wish this were documented.

especially given the last post here (https://github.com/foundry-rs/foundry/issues/3478) is:

I guess we could turn prune history and max transaction keeper on by default with some reasonable bounds?

I'm left to wonder whether this change occurred or not. the crashes I'm observing make me think block-keeper has been set to a default of 3500.