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

Zero-length ManagedArrays leak memory #178

Open
ajkunen opened this issue Apr 30, 2021 · 1 comment
Open

Zero-length ManagedArrays leak memory #178

ajkunen opened this issue Apr 30, 2021 · 1 comment
Labels

Comments

@ajkunen
Copy link
Contributor

ajkunen commented Apr 30, 2021

We've seen an issue with CHAI allocating zero-sized arrays. We see them report as memory leaks using gcc memory sanitizer, and also with valgrind.

We can see this on a CPU-only build with the default malloc Umpire allocator.

@ajkunen
Copy link
Contributor Author

ajkunen commented Apr 30, 2021

Just a note: this is a leak in CHAI, not Umpire

@ajkunen ajkunen added the bug label Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant