On Mon Feb 26 20:06:48 2024 +0000, Nikolay Sivov wrote:
If I knew I wouldn't be asking. Maybe this allocation way aligns and over-allocates, maybe not.
For what it's worth, changing `malloc` back to `HeapAlloc` is another way to avoid the crashes, and I don't think 32-bit `HeapAlloc` aligns or overallocates any more than `malloc` does. I also tried allocating 10 times the required memory and it did not fix anything.