L
Lloyd Sheen
I noticed a post asking why a simple form when loaded takes 20,000K. I
decided to try it myself and came up with the following results (number are
from Task Manager Win XP-Pro)
Form Load
16,720K 12:44 PM 5/1/2004
16,996K 1:26 PM 5/1/2004
17,016K 1:29 PM 5/1/2004
Minimize
3,976K 1:30 PM 5/1/2004
Restore
4,740K 1:38 PM 5/1/2004
System completely idle
6,444K 2:04 PM 5/1/2004
Move Form
6,560K 2:07 PM 5/1/2004
System Idle
6,600K 2:17 PM 5/1/2004
Minimize
672K 2:18 PM 5/1/2004
Restore
3,700K 2:18 PM 5/1/2004
System Idle
3,896K 2:35 PM 5/1/2004
Close other apps
5,116K 2:36 PM 5/1/2004
Open IE
5,692K 2:38 PM 5/1/2004
System Idle
5,856K 2:57 PM 5/1/2004
6,540K 3:11 PM 5/1/2004
Even with GC these numbers are hard to justify. Seem as if a minimize of
the app caused a huge GC so maybe all win app's should load then minimize to
reduce memory usage?
LLoyd Sheen
decided to try it myself and came up with the following results (number are
from Task Manager Win XP-Pro)
Form Load
16,720K 12:44 PM 5/1/2004
16,996K 1:26 PM 5/1/2004
17,016K 1:29 PM 5/1/2004
Minimize
3,976K 1:30 PM 5/1/2004
Restore
4,740K 1:38 PM 5/1/2004
System completely idle
6,444K 2:04 PM 5/1/2004
Move Form
6,560K 2:07 PM 5/1/2004
System Idle
6,600K 2:17 PM 5/1/2004
Minimize
672K 2:18 PM 5/1/2004
Restore
3,700K 2:18 PM 5/1/2004
System Idle
3,896K 2:35 PM 5/1/2004
Close other apps
5,116K 2:36 PM 5/1/2004
Open IE
5,692K 2:38 PM 5/1/2004
System Idle
5,856K 2:57 PM 5/1/2004
6,540K 3:11 PM 5/1/2004
Even with GC these numbers are hard to justify. Seem as if a minimize of
the app caused a huge GC so maybe all win app's should load then minimize to
reduce memory usage?
LLoyd Sheen