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

Find and fix memory leak #389

Open
commjoen opened this issue Aug 31, 2022 · 3 comments
Open

Find and fix memory leak #389

commjoen opened this issue Aug 31, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@commjoen
Copy link
Collaborator

commjoen commented Aug 31, 2022

after running hey twice against /challenge/1 we see that the amount of sessions build up to 400, and memory consumption goes from 200Mb to 277 MB after which, when all sessions are released, we still see 274 MB in use (e.g. 70 MB is not GCed?)

@commjoen commjoen added this to To do in Kanban board via automation Aug 31, 2022
@commjoen commjoen changed the title Fix and find memory leak Find and fix memory leak Aug 31, 2022
@commjoen commjoen added the bug Something isn't working label Feb 13, 2023
@commjoen commjoen removed their assignment Mar 3, 2023
@commjoen
Copy link
Collaborator Author

commjoen commented Oct 4, 2023

Hi @drnow4u & @nbaars I am not sure if this is still an issue actually, but maybe we can tackle this with the config refactor?

@commjoen commjoen added this to the 1.8.x milestone Dec 12, 2023
@commjoen
Copy link
Collaborator Author

We have to check if this is still an issue in the current 1.8.0 or close it

@commjoen
Copy link
Collaborator Author

When we create 400 sessions in heroku, we see a rise from 313 mb to 320. When the sessions are expired, we go back to 316 mb. so there seems to be 3 megabyte leaking... this should not be a problem unless we play centralized CTFs on hosts with little ram, while folks doing all sorts of DAST testing in the hope to find secrets...

@commjoen commjoen removed this from the 1.8.x milestone Apr 16, 2024
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
Development

No branches or pull requests

3 participants