Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (3run, miwok, AndrewAMD, Quad, TipmyPip, fairtrader, 1 invisible), 637 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Zorro crashes generating chart after 1st time #428354
08/25/13 14:08
08/25/13 14:08
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
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/13 19:35
08/25/13 19:35
Joined: Nov 2012
Posts: 126
B
blaub4r Offline
Member
blaub4r  Offline
Member
B

Joined: Nov 2012
Posts: 126
Yes, pretty much the same as you explained it. Usually on 1 minute bars + several years test period.

Re: Zorro crashes generating chart after 1st time [Re: blaub4r] #428361
08/25/13 19:39
08/25/13 19:39
Joined: Apr 2013
Posts: 57
3
3DCat Offline
Junior Member
3DCat  Offline
Junior Member
3

Joined: Apr 2013
Posts: 57
I've had it sometimes, but i couldn't nail it down on a single cause... but it's not often enough to bother me

Re: Zorro crashes generating chart after 1st time [Re: 3DCat] #428368
08/26/13 08:22
08/26/13 08:22
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
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/13 10:18
08/26/13 10:18
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,609
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/13 10:43
08/26/13 10:43
Joined: May 2013
Posts: 627
Bonn
Sundance Offline
User
Sundance  Offline
User

Joined: May 2013
Posts: 627
Bonn
Besides the error the charting is really a pain in the... It's not really that flexible. ZoomIn and ZoomOut, Scrolling... Not very user friendly.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1