This Question is Answered

1 "correct" answer available (8 pts) 14 "helpful" answers available (5 pts)
2 Replies Last post: Jan 18, 2010 11:24 PM by alchimiste  
alchimiste Level 4 27 posts since
Feb 26, 2009
Currently Being Moderated

Jan 18, 2010 7:58 PM

Timer and memory

I've found that Timer object coninues increasing PC memory use of Curl RTE.

 

For example, when I run Help's sample of ClockControl(http://www.livetest.curl.com/userdocs/docs/en/dguide/dialogs-customize.html), Windows task manager shows that RTE memory use keeps increasing.

 

Could that cause some problems of PC or Curl applet's?

Duke BlackBelt 297 posts since
Oct 17, 2007
Currently Being Moderated
1. Jan 18, 2010 10:09 PM in response to: alchimiste
Re: Timer and memory

The Timer methods are probably allocating memory which will eventually be garbage collected.  You should not worry too much about how long it takes for the garbage collection algorithm to decide that it is time to do the collection.  If you are not building a large data structure yourself, then eventually the memory should be reclaimed.  The garbage collector is designed to have a limited impact on the overall computer performance, so you probably would not gain anything by explicitly calling {garbage-collect}.

More Like This

  • Retrieving data ...