I've found another issue and I don't know whether it's related to the previous one. Hopefully you'll be able to reproduce. But description first:

I have a .t1 file which is only 1.05 MB in size. I can view the prices in ZHistoryEditor. But when I try to export the prices in Zorro it crashes with an Error 060: RES memory limit exceeded (1034 MB). It's the Error 060 as in the previous case but this time it's not TIC memory but RES memory. Then I change StartDate to a later date and I get Error 060: BAR memory limit exceeded (3345 MB). That's when I'm trying to use 100ms or 1s BarPeriod. If I change it to 1m the script runs without an error.

So here's the code:
Code:
function run(){
	History = ".t1";
	set(TICKS);
	Asset = "AUD/CAD";
	//This date range gives BAR memory exceeded:
	//StartDate = 20130401;
	//EndDate = 20131231;
	//This date range gives RES memory exceeded:
	StartDate = 20130131;
	EndDate = 20131231;
	BarPeriod = 0.1/60.0;
	UnstablePeriod = 0;
	LookBack = 0;
}



And here's the file (don't mind it's not actually AUD/CAD prices in there laugh ) https://we.tl/aCOlqt40zM