Applies To:
  • CitectSCADA
  • CitectHMI

When using the DspPlaySound() cicode function the Citect32 process may leak memory. 

The memory leak is caused by a threading problem within older versions of XML DOMDocument COM component distributed by Microsoft. Once citect uses this component to read an XML document subsequent creation of threads, as done in the sndPlaySound function may leak memory.

Tests have shown that installing version "Microsoft XML 3.0 SP2" (8.20.8730.1) will prevent the memory leak.

To determine which version of Microsoft XML 3.0 you are using, search for the "msxml3.dll" in the windows directory and look at the version properties. Newer versions of the Microsoft XML 3.0 can be found on the Microsoft website (see Microsoft KB 269238).