K
Keven Corazza
Hi, I'm usign CF 1.0 and I'm really confused about memory management of CF.
Imagine this situation:
- a form, memory free about 6 Mb
- a form open a new form
- the new form has a list view and 1000 items are added to it
- memory free about 2 Mb
- the new form is closed; I call dispose method.
- memory free 2 Mb
If I open the second form a second one I have no memory to continue and I
get the message "Program memory is very low...."
What I have to do to free memory ?
I know that GC free the memory (?) automatically but perhaps it is necessary
sometimes to tell him to start to do it.
Thank you in advance for your help.
Keven Corazza
Imagine this situation:
- a form, memory free about 6 Mb
- a form open a new form
- the new form has a list view and 1000 items are added to it
- memory free about 2 Mb
- the new form is closed; I call dispose method.
- memory free 2 Mb
If I open the second form a second one I have no memory to continue and I
get the message "Program memory is very low...."
What I have to do to free memory ?
I know that GC free the memory (?) automatically but perhaps it is necessary
sometimes to tell him to start to do it.
Thank you in advance for your help.
Keven Corazza