MT5 · Runtime errors
MT5 4008 · Not enough memory for the relocation of string | YI GOLD
ERR_STRING_RESIZE_ERROR
Official meaning
Not enough memory for the relocation of string
Possible causes · YI GOLD suggestions
Available memory or call stack is insufficient, or recursion and buffers are excessive.
Troubleshooting · YI GOLD suggestions
Reduce recursion and large local arrays, review allocation/release, batch history processing and check memory-operation results.