Ok I found in the stdc++ implementation of "new" that sz indeed is passed to malloc.
void *ptr = std::malloc(sz))
Thereby it indeed means "bytes" and that means ~18 exabyte which is slightly more than most systems can offer :-)
The question now becomes, where is this value created/derived from and can we reproduce this maybe even outside of the complexity of mysql. To me it starts to seem more like an issue in the lib, but to know that for sure we will need to track down where this value really comes from.
Ok I found in the stdc++ implementation of "new" that sz indeed is passed to malloc.
void *ptr = std::malloc(sz))
Thereby it indeed means "bytes" and that means ~18 exabyte which is slightly more than most systems can offer :-)
The question now becomes, where is this value created/derived from and can we reproduce this maybe even outside of the complexity of mysql. To me it starts to seem more like an issue in the lib, but to know that for sure we will need to track down where this value really comes from.