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
High memory usage for serving static files #73
Comments
|
It without SPESH it works fine, it looks to me like rakudo bug rather than Cro::HTTP one. |
|
Even more interestingly, it seems that it doesn't leak with |
In some cases, we can not have a ->work, but still have frame extras to free. This could add up to quite a large leak over time in longer running programs. This was the cause of the leak in, for example, croservices/cro#73, which now converges on a maximum amount of memory rather than continuously growing.
|
Tracked it down with massif, and fixed a leak in MoarVM. With that fix, it hits a maximum and then ceases to grow with further requests (threw 50,000 at it, and it didn't budge beyond the point it reached after the first 10,000). |
This example consumes too much RAM ( without freeing it ) every request and sometimes segfaults.
With MVM_SPESH_DISABLE=1 works fine
This is Rakudo version 2018.06-281-g7043559bb built on MoarVM version 2018.06-329-g21ea40f68
implementing Perl 6.c.
The text was updated successfully, but these errors were encountered: