CHAI icon indicating copy to clipboard operation
CHAI copied to clipboard

Zero-length ManagedArrays leak memory

Open ajkunen opened this issue 4 years ago • 1 comments

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 avatar Apr 30 '21 18:04 ajkunen

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

ajkunen avatar Apr 30 '21 18:04 ajkunen