This script
Code:
function run() {
  set(MUTE);
  set(PLOTNOW);
  StartDate = 20140301;
  EndDate = 20140901;
  BarPeriod = 60;

  var atrx = ATR(200);

  printf("\nMemory %i kb", memory()/1024);
}

gives the wild numbers above when run by Zorro under wine.
The same script reports consistent numbers (43MB I think) when run by Zorro within a Windows 7 VirtualBox instance.

Oddly, removing the ATR() line makes memory() result consistent under wine.

There are some discussions/bugs at winehq.org related to GetProcessMemoryInfo, which I can see now that I know what to search for. Thanks.