I'm creating an addin application for SolidWorks. Every time when i process a part physical memory heaps up resulting in termination of SolidWorks throwing a message "SolidWorks is running out of memory. It's terminating now". How can recover my used memory.
Folling are the memory consuption of SolidWorks for successive processing of same part. GDI objects used nore or less same but the memory consumption increases rapidly.