Do I have to delete buffers?

 

I'm creating buffers using:

double LowsBuffer[];
int copy=CopyBuffer(indicatorhandle,1,start_time,stop_time,HighsBuffer);

Do I have to delete them?

Thanks.‌

 

Found it:

ArrayFree(buffer);

I'm using strategy tester and was finishing job prematurely.‌

Cheers anyway.‌

 

The strategy tester goes through about a month then stops prematurely  stating using about 640 meg of memory.

Is this normal or is there anything else I should be doing?

Despite this the strategy tester generates a balance of £27,000 in 2 weeks starting with £10,000, not bad so far :) ‌

Thanks.‌

 
paulgriffiths:

The strategy tester goes through about a month then stops prematurely  stating using about 640 meg of memory.

Is this normal or is there anything else I should be doing?

Despite this the strategy tester generates a balance of £27,000 in 2 weeks starting with £10,000, not bad so far :) ‌

Thanks.‌

Most probably a bug in your code. What the log is saying ?
 
Alain Verleyen:
Most probably a bug in your code. What the log is saying ?

Not reporting any bug or divide by zero, just the amount of memory used.
Reason: