Is the padding the only difference between these approaches?
If so, could you show a code snippet to demonstrate this behavior?
My first guess would be memory fragmentation, but that’s way too large and the memory should also be reused, so you shouldn’t run out of memory.