You can save memory in several ways - f.i. splitting the portfolio, not using TICKS, or using a shorter simulation period.