Memory in windows forms

  • Thread starter Thread starter Marina
  • Start date Start date
Hi John,

That shows the same as my testing, however I advice you to do a test with
visible of the controls is set to not true as well, otherwise you will maybe
think it is the add, while it is in my expirience not, however the paint.

Cor
 
Cor Ligthert said:
That shows the same as my testing, however I advice you to do a test with
visible of the controls is set to not true as well, otherwise you will maybe
think it is the add, while it is in my expirience not, however the paint.

Well, making it visible or not may well have far more involved than
just whether or not it ends up being painted. I'm not terribly worried
about that level of detail - the main thing (to my mind, anyway) is why
the behaviour is different, and the key thing is that when added and
visible, garbage is being generated earlier, forcing more frequent
garbage collections.
 
Hi Jon,

I can think of one thing, therefore I said painting, while the screen is
painted there is as far as I know some time, that the video processor is
busy, it would be clever to do than some garbage collection when there are
no other processes busy.

Cor
 
Back
Top