MT4 · Compilation errors
MT4 338 · Memory required for local variables exceeds the maximum value | YI GOLD
Official meaning
Memory required for local variables exceeds the maximum value
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.