Memory Managment
-
Hi, When my win app executes it opens in a maximized form and takes up 45,000K in mem. However, as soon as i minimize it, it cuts the mem usage in half. Is there are reason for this and is there any way of doing this type of mem clean up in the code. I tried using the garbage collection but it doesn't seem to do it. thanks for any help
-
Hi, When my win app executes it opens in a maximized form and takes up 45,000K in mem. However, as soon as i minimize it, it cuts the mem usage in half. Is there are reason for this and is there any way of doing this type of mem clean up in the code. I tried using the garbage collection but it doesn't seem to do it. thanks for any help
-
Hi, When my win app executes it opens in a maximized form and takes up 45,000K in mem. However, as soon as i minimize it, it cuts the mem usage in half. Is there are reason for this and is there any way of doing this type of mem clean up in the code. I tried using the garbage collection but it doesn't seem to do it. thanks for any help
That’s the OSs memory management and optimization in action If you minimize an app, it does not need to be as responsive as an active app. So the OS optimizes the situation by moving most of the app data to virtual memory, so the physical memory usage is reduced and that real estate is available for active foreground apps. If you maximize it again, the reverse thing happens. ;) Salil Khedkar [^]