Guys, when Im running backtests for just a 4 month period, my memory usage of terminal.exe ticks up soooo fast that most of the time metatrader crashes when it reaches 950,000K of memory usage! I can watch it and see it goes up about 100K every second....
1) What could be causing this if its my code? What should I look for inside my code?
2) Is this considered "normal" ?
3) Any work arounds?
Thanks!
ps. I should probably add that the machine its running on is a quad-core 3.0ghz with 3.0G's of ram ... and the EA/Indicators during test will challenge about 6,000 lines of code.
Just a thought I had. Are you running your test in visual mode? If so, uncheck it. This should save you a lot of memory and the tests won't take as long. In fact they're a lot shorter.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Guys, when Im running backtests for just a 4 month period, my memory usage of terminal.exe ticks up soooo fast that most of the time metatrader crashes when it reaches 950,000K of memory usage! I can watch it and see it goes up about 100K every second....
1) What could be causing this if its my code? What should I look for inside my code?
2) Is this considered "normal" ?
3) Any work arounds?
Thanks!
ps. I should probably add that the machine its running on is a quad-core 3.0ghz with 3.0G's of ram ... and the EA/Indicators during test will challenge about 6,000 lines of code.