# OESetAllocaThreshold¶

void OESetAllocaThreshold(oesize_t size)


Sets the maximum number of bytes that can be allocated on the stack at once by alloca. If larger memory is requested than the set limit, then the memory will be allocated on the heap.

Note

The default limit is 4096. Please only reduce the limit if necessary. Reducing the default limit can have significant performance impact.