The minimal example would be quite simple:
function run()
{
History = ".t1";
StartDate = 2015;
EndDate = 2015;
while(asset(loop("EUR/USD"))){}
}
This is for the FXCM data (EUR/USD for 2015 is the largest file).
The exact error message is: "Error 060: TIC memory limit exceeded (788 MB)"
788 is twice the file size.