I'm experiencing Zorro crashing generating the price chart. So far the pattern seems to be that the crash happens when there's a lot of data to plot (i.e., multiple years &/or short BarPeriod) and it never crashes on the 1st generate after being run - only on some subsequent generate (after the strategy has been changed). Restarting Zorro and reTesting has always generated the chart just fine.
So far this is at the level of annoyance since restarting works, so I haven't tried to pin it down any further.
Is anyone else experiencing this?
Thanks.
Re: Zorro crashes generating chart after 1st time
[Re: DdlV]
#428360 08/25/1319:3508/25/1319:35
If the problem disappears after restarting, it is caused by memory allocation failure.
You can relatively easily set up a script in a way that Zorro needs vast amounts of memory, especially in TICKS mode and with small timeframes or long test periods. After a couple of runs, the memory on your PC becomes fragmented. This means although enough memory is available, it can not be allocated in the size needed for the simulation.
Zorro won't crash when memory allocation fails, but you'll see a Error 060 message. This is different in the charting library used by Zorro. It has no safeguard against memory fragmentation, but just crashes in such a case. In both cases you need to restart Zorro.
Re: Zorro crashes generating chart after 1st time
[Re: jcl]
#428369 08/26/1310:1808/26/1310:18
Thanks blaub4r, 3DCat, jcl. jcl, if I understand your explanation correctly there's no point in trying to pin it down further since it's a known problem with the charting library, and will remain until either the library is fixed or Zorro changes to a different library.
Thanks.
Re: Zorro crashes generating chart after 1st time
[Re: DdlV]
#428370 08/26/1310:4308/26/1310:43