- 
                Notifications
    You must be signed in to change notification settings 
- Fork 19
Description
I am running greed on contract Ethereum 0x3DCb577A5d3bFAedb848F59ae5939e4d2D22d182, and the memory usage is extremely high. The machine has 188 GB RAM, and it is being killed by the OOM killer. In fact, this is just one of thousands of contracts that are seeing the same issue.
I am surprised by this as symbolic execution, in my experience, doesn't usually use so much memory, especially for small programs like solidity contracts. In our case, we are only checking the transfer() function, which is quite short.
Below is the output from the Memray python memory profiler.
memray-flamegraph-mev_tk_checker.py.21272.html
In particular, it seems that self.root_lambda_constraint.initiate(index) is doing most of the allocations.

Any idea how we can decrease the memory footprint so we can complete a run of greed on these contracts?