DiscussionsIssue archiveOther usage issues

Archived discussion

Detected memory leaks?

Other usage issuesWed, 05/09/2001 - 07:271 reply

Browse this forum
QuestionAuthor

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.

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

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.
Commenter-1