View Single Post
Old 15-07-2010, 13:26
Posts: n/a
Default Memory and CorelDRAW X4 VBA

I am writing a program in C# using CorelDRAW X4 VBA.

I've noticed that after some time, the memory usage on the CorelDRW.exe process has grown by quite a bit.

I am being very careful to release all objects I allocate.

I've tried simplifying things by just creating a loop that calls IDrawApplication.CreateDocument() and IDrawDocument.Close() over and over.

Memory inches higher and higher over time.

Is there something I am missing with closing Corel documents? Or does X4 have some bugs that it does not clean up everything it should?

Reply With Quote