Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Reclaim Memory Consumption of diagram (Read 1249 times)
solisgsandc
YaBB Newbies
*
Offline



Posts: 40
Joined: Dec 18th, 2009
Reclaim Memory Consumption of diagram
Jun 8th, 2010 at 7:23pm
Print Post  
Is there some sort of cache invloved when creating new nodes in a diagram. It seems like when I create 100 nodes and 100 links at a time programmatically, the memory consumption increases. It is reclaimed when I minimize the window where the diagram is hosted. I need to know how I can reclaim this memory programatically so that I can add more nodes without the need to minimize the window manually.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Reclaim Memory Consumption of diagram
Reply #1 - Jun 9th, 2010 at 5:03am
Print Post  
I suppose the .NET garbage collector runs when you minimize the window. You can run it explicitly by calling GC.Collect(), though the runtime should call it automatically when it needs more memory.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint