SetAllocReturnString(1); { alloc memory for returned string, TS will free that memory }
SetMaxReturnStringLength(500); { limit the max length of return string to 500
The comments were from Ninjatrader (or the developer).
My problem is with virtual memory leaking in Tradestation, and it only happens on the version where I am heavily using Ninjatrader
and using the NtDirect function calls from Easylanguage. The comments above suggest that the developer assumed that
Tradestation would clean up the memory, but it isn't. The above functions still work in the current version of NtDirect, so, in my
view, the problem could still be there as it was in NT7.
I think we are at an impasse on this because Tradestation has no interest in modifying its software to accommodate a third party
application, and I think it is fair to say the same of Ninjatrader (or the NtDirect developer).
I apologize for taking up so much of your time.
Comment