Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory consumption grows rapidly with each iteration #100

Open
SheldonHolmgren opened this issue Mar 4, 2023 · 0 comments
Open

Memory consumption grows rapidly with each iteration #100

SheldonHolmgren opened this issue Mar 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@SheldonHolmgren
Copy link

Describe the bug
hybrid-echidna crashes my machine since with each new iteration (i.e., echidna campaign) the memory usage grows rapidly. I could increase the amount of RAM or swap available since I'm running on a VM in the cloud but it's hard to predict what the total usage will be.

This severly limits usability of optik to me since I can only run with very low --max-iters and that in turn limits --seq-len of echidna campaigns.

I hope there might be some low-hanging fruit where some of the memory contents can be discarded or dumped on the disk.

Additional context:
Ubuntu 22.04.1 LTS on a Google Cloud instance

# python3 --version
Python 3.10.6
# echidna-test --version
Echidna 2.0.5
# slither --version
0.9.1

hybrid-echidna logs:
echidna.logs.issue.txt

Google Cloud memory usage chart:
Memory Bytes Used (Top 5 VMs)
(Note: the final plateau is probably not really a plateau because the swap was being used instead of RAM)

@SheldonHolmgren SheldonHolmgren added the bug Something isn't working label Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant