memory allocated

I'm using opencascade from a windows dll.

Everything works find except that only half on the memory allocated by opencascade gets released at the end.

Is there a function to call to release that memory ?

any idea ?


Mikael Aronsson's picture

Hi !

I am not sure what you mean here, do mean when you exit the application ?, all memory is always released when the application terminates. Nothing can prevent this, even a bad application with lots of memory leaks is forced to release all allocated memory when it terminates.

Also, where do you get the information that all memory was not released ?