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

Out of memory when sieging large data endpoint #221

Open
dpetroff opened this issue Apr 14, 2023 · 2 comments
Open

Out of memory when sieging large data endpoint #221

dpetroff opened this issue Apr 14, 2023 · 2 comments

Comments

@dpetroff
Copy link

I have an endpoint that responds with a lot of data. Think 500+ MB. When I try to siege it, siege runs out of memory and is killed:

siege -c 20 --no-parse http://localhost:8080/endpoint
** SIEGE 4.1.7-b2
** Preparing 20 concurrent users for battle.
The server is now under siege...Killed

I was hoping that the --no-parse option would meter the data in flight and shove it straight into the nether, but that doesn't seem to be the case.

@JoeDog
Copy link
Owner

JoeDog commented Apr 16, 2023 via email

@dpetroff
Copy link
Author

dpetroff commented May 19, 2023

I'm not sure how to check if it was the OOM killer, but having that much memory on the machine for sieging purposes isn't really practical in this case. The server already has streaming implemented on the response side, so it does not actually require a lot of memory to serve the requests. That's actually the very property I wanted to test by sieging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants