Login Page - Create Account

Support Board


Date/Time: Fri, 10 Jan 2025 20:18:02 +0000



Post From: Custom study with sierrachart functions : Memory leak

[2016-09-26 19:27:27]
User612903 - Posts: 51
ok, thank you for coming back to me.

Since I'm sure you are way more advanced than me in C++, does any of those code need to be completed by a cleanup for the memory to be relased ?

std::string data_instrument = sc.Symbol.GetChars();

char buffer[500];

int &PersistentHigh1 = sc.GetPersistentInt(112);

const unsigned char* uniqid;

char *zErrMsg = 0;

As you understand I am trying to debug memory leak, but since the code from my first message is correct and the memory keep increasing slowly, it's hard for me to findout what's wrong in my code.

Any tools you recommend ?

Thank you