Detected memory leaks?

Hi,

I am running OCC3.1 under windows 2000 and I Downloaded WindowsNT/9x Binaries (Debug Version). When Sample Program(of OCC) is Debugged by VC++6, the message of "Detected memory leaks!" is outputted to an OutputWindow. Is this normal? Is it a thing with my bad PC environment?

Thanks for your help.

June.

Roman Lygin's picture

Hi June,

Search this forum for "Memory leaks" to read more (e.g. http://www.opencascade.org/org/forum/thread_5253/).
The bottom line: in most case these reports are "false positives", i.e. these are no real leaks - OCC Memory manager simply does not free memory unless program terminates. You can control such behavior with env. variables.

Hope this helps.
Roman