Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Releasing Resources (Read 2015 times)
JeffHebb
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: May 2nd, 2007
Releasing Resources
Dec 13th, 2007 at 6:37pm
Print Post  
Hi

I have a problem ,  memory is not released when closing a form. I have one Calendar showing 80 appointments. Tryed calendar.Dispose() method, tryed forced collection of the G.C still no luck.

Have I missed something.

Using VB.Net

Many Thanks

JeffHebb
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Releasing Resources
Reply #1 - Dec 14th, 2007 at 6:38am
Print Post  
Make sure you have no references to the Calendar object in your application. Also make sure you have detached all event handlers of Calendar and Schedule events. An object cannot be GC-ed if there are references to it.

Meppy
  
Back to top
 
IP Logged
 
JeffHebb
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: May 2nd, 2007
Re: Releasing Resources
Reply #2 - Dec 14th, 2007 at 8:51pm
Print Post  
Hi

Forgot to release a handle. 

Many Thanks,

JeffHebb
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint