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

every clib4 binary (even simply one) leak memory on the run/exit for about 1-1.5mb for each run. #210

Open
kas1e opened this issue Oct 3, 2024 · 7 comments

Comments

@kas1e
Copy link

kas1e commented Oct 3, 2024

Topic says it all, running any clib4 based app compiled with latest beta10 cause leaking of 1-1.5mb of memory on each run. 10 runs - 15 mb, 100 runs and you have 150 mb go away. Can be reproduced even with simply "hello world" test case.

@3246251196
Copy link
Member

@kas1e
@walkero-gr
@afxgroup
Are we able to post a simple example on this ticket?

@kas1e
Copy link
Author

kas1e commented Nov 30, 2024

As i say any example. Simple hello world with single printf is enough

@3246251196
Copy link
Member

okay.

@afxgroup
Copy link
Collaborator

We have to replace all AllocVecTags/FreeVec that are not in the constructors with malloc/free when possible

@3246251196
Copy link
Member

What is the best tool / what tool are you using to prove the leak?

@raziel-
Copy link
Contributor

raziel- commented Dec 19, 2024

cmake 😀

@3246251196
Copy link
Member

Using a simple hello world is easiest since that program is simple. I mean, how are you proving that the bytes consumed versus the bytes released are different? What tool are you using?

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

4 participants