Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Bigarray mmap leak #8568
When a bigarray is allocated with
This results in a leak of memory (the proxy block) and address space (the mmapped file) and possibly other system resources.
The solution is to copy the
I tried to come up with a test but the leak is quite slow on 64-bit machines so I couldn't get a clean crash.
Apr 1, 2019
Sure. I read the patch and it looks good to me. BTW, it seems to me that in