DiscussionsIssue archiveOther usage issues

Archived discussion

Release memory after closing Ocaf document

Other usage issuesWed, 10/04/2006 - 18:183 replies

Browse this forum
QuestionAuthor

Does someone know how to release the memory from an Ocaf document (TDocStd_Document) ? The document contains a.o. TPrsStd_AISViewer, TPrsStd_AISPresentation and TNaming_NamedShape attributes.
Calling the Close method of TDocStd_Application does not seem to release any memory.

Regards,

Guido

Discussion

3 archived replies

Posts are displayed in their archived order.

01Commenter-1

I know the problem too. Unfortunately I haven't found any solution by now (to tell the truth I haven't searched that hard).

OC is know for memory bugs. Check out the forum. I've seen some similar posts.

Commenter-1

02Commenter-1

I know the problem too. Unfortunately I haven't found any solution by now (to tell the truth I haven't searched that hard).

OC is know for memory bugs. Check out the forum. I've seen some similar posts with some ideas how to solve some problems.

Commenter-1

03Author

I don't know if it is a bug or not. Maybe some special actions need to be taken?
I tried removing the presentation attributes and remove all ais interactive objects from the viewer but that didn't help (much).
Maybe I need to remove the TNaming_NameShape attributes but I don't know how to do that.