Hi All!
I have a program, which I run six discrete instances of for multi-processing, and use a shared memory interface between them to communicate.
The programs all run fine for the first two weeks of operation before they start to slooooow down and grind to a halt. Looking at the NT Task manager, each instance of the executable has increased it's memory usage by a ridiculous amount, thus forcing the OS to page virtual memory.
Each instance of the executable contains an ActiveX control for a robot system (a TCP/IP interface behind the scenes). The program also has an OLE Interface to an external device (PLC) to receive instructions in real time. Could these be the cause of the memory leak, or is it more likely to be a source code-induced phenomenon?
Basically, what the heck causes this?
Thanks!
LeGo PiEcE
"The Computer Spock! Destroy it!" - Captain James T. Kirk
I have a program, which I run six discrete instances of for multi-processing, and use a shared memory interface between them to communicate.
The programs all run fine for the first two weeks of operation before they start to slooooow down and grind to a halt. Looking at the NT Task manager, each instance of the executable has increased it's memory usage by a ridiculous amount, thus forcing the OS to page virtual memory.
Each instance of the executable contains an ActiveX control for a robot system (a TCP/IP interface behind the scenes). The program also has an OLE Interface to an external device (PLC) to receive instructions in real time. Could these be the cause of the memory leak, or is it more likely to be a source code-induced phenomenon?
Basically, what the heck causes this?
Thanks!
LeGo PiEcE
"The Computer Spock! Destroy it!" - Captain James T. Kirk