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

Leaked Memory Does Not Stack #12

Open
jessiejs opened this issue May 10, 2023 · 3 comments
Open

Leaked Memory Does Not Stack #12

jessiejs opened this issue May 10, 2023 · 3 comments

Comments

@jessiejs
Copy link

If you leak 1 MB one hundred times, it overwrites the previous one, so in the end only 1MB is leaked.

@mintexists
Copy link
Owner

Hi,

This was intentional, but if it wasn't communicated properly or you think that it should be done differently, please let me know 😄

Thanks!

@jessiejs
Copy link
Author

jessiejs commented May 14, 2023

This was intentional

What's the reasoning behind this

@mintexists
Copy link
Owner

I thought that it would be better to take a more minimalistic implementation in order to give more control to those using it. It gives a simpler and finer control rather than dealing with the logic of leaking positive and negative amounts of memory, or partially flushing the toilet (which is difficult to do if you've never tried it)

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