Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix crash due to reallocation of shared indices memory #15646
This PR provides a fix for issue #15439.
As detailed in the issue, the crash is caused by multiple references to the static
Rather than simply expanding, new memory is allocated to
The proposed fix will result in a slightly higher amount of memory usage whenever the shared indices buffer grows but will eventually stabilise (assuming no references to the
Maybe a larger refactor for dealing with the shared memory should be considered but this is a fairly low impact fix which should at least stop the crashes!