YI GOLD
MT5 · Runtime errors

MT5 4004 · Not enough memory to perform the system function | YI GOLD

ERR_NOT_ENOUGH_MEMORY

Official meaning

Not enough memory to perform the system function

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.