Cleaning memory problem

I have MDI based applicationand I'm using Opencascade 6.5.0. Sou I need to cleanup memory after closing MDI chaild windows. How can I do this? There is some objects which uses memory, but I can't realize which objects uses most part of unfree memory.

m-aronsson's picture

As usual the question is, is it a problem ? OCC use it's own memory manager that takes care of allocating/freeing memory and for example the MFC memory tracer detects this as a memory leak (which it is not), so where do you get the information that your memory is not freed ?

With that said it is of course possible that there is a bug in OCC.