Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/25/26 19:13
ZorroGPT
by TipmyPip. 04/25/26 16:09
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Quad, 1 invisible), 3,095 guests, and 14 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Upper limit on number of series() calls in a script? #431234
10/11/13 15:54
10/11/13 15:54
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
Is there an implicit limit on the number of series() calls a script can make?
Would it be a number somewhere between 255 and 259 ?

I have a script with 259 series calls. It crashes in Train mode in unpredictable ways.
1. A Windows dialog tells me the program has crashed, or
2. I get a pile of runtime errors, followed by (1), or
3. Zorro just freezes, requiring task kill.

If the failure mode is 1 or 2, at least, the diag file has something in it. Zorro's last breath is
Code:
return
Exit Loop TA-Lib Series



If I bring the number of series calls down to 255, Train succeeds.

Re: Upper limit on number of series() calls in a script? [Re: GPEngine] #431237
10/11/13 16:14
10/11/13 16:14
Joined: Jul 2000
Posts: 28,094
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,094
Frankfurt
There is no fixed limit, but of course all data on a PC is limited by the available memory. However even on a very old PC this limit is far higher than 259. Exceeding it will produce an error message, not a crash.

Writing or reading past the length of a series however will cause a crash - that's where I'd look first.

Re: Upper limit on number of series() calls in a script? [Re: jcl] #431240
10/11/13 16:37
10/11/13 16:37
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
Come to think of it, I have executed a script containing 652 distinct series() calls, successfully. At least, without apparent error. This script wrote values to a file for offline feature selection.
Now I'm looping back with the chosen features and trying to get a DTREE on them.

Maybe there is a bad interaction when there are >259 series calls followed by calls
adviseLong(DTREE, 0, ...) and
adviseShort()

Re: Upper limit on number of series() calls in a script? [Re: GPEngine] #431242
10/11/13 16:43
10/11/13 16:43
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
Or maybe the limit only appears in Train mode, not Test.

Re: Upper limit on number of series() calls in a script? [Re: GPEngine] #431243
10/11/13 16:58
10/11/13 16:58
Joined: Jul 2000
Posts: 28,094
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,094
Frankfurt
No, I'm afraid a bad interaction or a limit that only appears in Train mode are also unlikely.

Re: Upper limit on number of series() calls in a script? [Re: jcl] #431253
10/12/13 03:44
10/12/13 03:44
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
Thanks.
I'll dig deeper.
In general, is this allowed?
Html:
set(PARAMETERS+RULES+TESTNOW+PLOTNOW);


Train.

Re: Upper limit on number of series() calls in a script? [Re: GPEngine] #431280
10/12/13 20:07
10/12/13 20:07
Joined: Sep 2013
Posts: 504
California
G
GPEngine Offline OP
User
GPEngine  Offline OP
User
G

Joined: Sep 2013
Posts: 504
California
After many hours isolating the problem, I am able to reproduce at least one of the crash conditions with a script that has only 16 series() calls, and sets only set(RULES).
I'll post the example script in a new thread in the Scripts forum.
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=431279&#Post431279


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1