PARAMETERS+RULES(PATTERN+FUZZY) WFO = OOM

Posted By: GPEngine

PARAMETERS+RULES(PATTERN+FUZZY) WFO = OOM - 05/12/15 06:01

A Strategy using RULES+PARAMETERS &
adviseLong(PATTERN+FUZZY) with 8 inputs &
NumOptCycles = 2;
NumWFOCycles = 7;
over merely 1 year of H1 bars

It consistently crashes 44 minutes into Train, on Walk[5]O[1] P[1], for "out of memory". Is this expected?

Code:
Profitable patterns: 204.
Parameter 1 step  1:  100.00 => 2.66  56/39
Generating EURUSD_L rules...
Generating EURUSD_S rules...
Profitable patterns: 207.
Parameter 1 step  2:  120.00 => 2.84  61/43
Generating EURUSD_L rules...
Generating EURUSD_S rules...
Profitable patterns: 211
Error 060 - out of memory: TRD 88.5 MB (1.9 MB total)
Quit
Time 00:44:33

Posted By: jcl

Re: PARAMETERS+RULES(PATTERN+FUZZY) WFO = OOM - 05/12/15 09:50

Running out of memory is always expected when you program something. In strategy scripts, the two most frequent reasons for running out of memory are too many trades, and too many price ticks.
Posted By: GPEngine

Re: PARAMETERS+RULES(PATTERN+FUZZY) WFO = OOM - 05/13/15 02:42

Thanks.
These are soft limits, and Zorro is not aware when it approaches or exceeds them?
Posted By: GPEngine

Re: PARAMETERS+RULES(PATTERN+FUZZY) WFO = OOM - 05/13/15 03:11

wine console writes
Code:
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory

...
© 2024 lite-C Forums