Spirit thank you SO much!
I have changed StartDate from 2004 to 2014 and it works. No memory error.
I do not need a long history at all.
All I was trying to do is test a small strategy on a live MT4 demo graph.
Using 60mn timeframe is like watching paint dry. This is why I needed the 1mn timeframe so I can see some action and mak sure my code is behaving as expected before adjusting to the true timeframe for testing and trading.
Thank you very much for your help.