I have a small VB.Net application, couple small forms.
Main form has a ListView, Listbox, statusbar, main menu and a 100k jpg.
The load event populates the listbox and listview controls with 2-3 items each from an access db.
The following is the memory at variouse stages:
After Load: 21 megs
Move form around screen: 22 megs
Minize form:600k
Maximize form: 4 megs
Move form around screen: 4.1 megs
Minimize form:600k
Maximize form: 4 megs
etc...
The Virtual Memory remains a constant 10.5 megs at all times.
I dispose the connection object and close the DB reader... why does it hog so much at first and reduce so much when minimimzed ?
I read a previous post from a long time ago about someone having the same problem as myself, though it never really got solved so I thought I'd try now.
Main form has a ListView, Listbox, statusbar, main menu and a 100k jpg.
The load event populates the listbox and listview controls with 2-3 items each from an access db.
The following is the memory at variouse stages:
After Load: 21 megs
Move form around screen: 22 megs
Minize form:600k
Maximize form: 4 megs
Move form around screen: 4.1 megs
Minimize form:600k
Maximize form: 4 megs
etc...
The Virtual Memory remains a constant 10.5 megs at all times.
I dispose the connection object and close the DB reader... why does it hog so much at first and reduce so much when minimimzed ?
I read a previous post from a long time ago about someone having the same problem as myself, though it never really got solved so I thought I'd try now.
Last edited: