Re: correctly Controlling Garbage Collection

2009-10-21 Thread Sean McBride
On 10/16/09 2:17 AM, WareTo Development said: >So we thought the best thing would be to force a garbage collection >operation at a time of our choosing. Normally, this occurs at Mouse >up, after the user has finished his drawing. A split second of garbage >collection then would be barely noticeab

Re: correctly Controlling Garbage Collection

2009-10-17 Thread Quincey Morris
On Oct 17, 2009, at 18:48, Rob Keniger wrote: What happens if you explicitly disable Garbage Collection when the user starts drawing and enable it when the user finishes? That might be a practical answer, but I think maybe a key point got skipped over earlier in the thread. If the collector

Re: correctly Controlling Garbage Collection

2009-10-17 Thread Rob Keniger
On 16/10/2009, at 4:17 PM, WareTo Development wrote: > Looking at this problem, we could perform better memory management, so deep > garbage collection does not happen that often. This reduces the problem, but > can never eliminate it, since sooner or later the garbage clean operation > must b