Posted by member 99 on 2003-06-04 23:01:02 link
GDI leaks can get nasty if they're really bad... a previous version of ZoneAlarm used to eat up my GDI resources until windows stopped repainting correctly. :6
There is no one number that is memory usage. The two big ones are the working set and virtual memory, working set being more important.
Working set is the amount of physical memory the process is currently using, this is data that it has recently accessed. Task Manager supposedly gives the working set under "Mem Usage" (it's possible that it's inaccurate, I haven't checked)
Virtual memory is probably a fairly well-known term, it's data that the process has allocated, but has not recently used, so Windows moved it out of physical memory. This doesn't really affect performance very much. Task Manager lists this as "VM Size" (iirc, not on by default)
Total memory usage is approximately working set + virtual memory, but that's not a terribly important number. Also, you have to realize that some of each of these is shared, such as the space taken by user32.dll. Freeing up shared space in one process will not result in that much more free memory.
There is no one number that is memory usage. The two big ones are the working set and virtual memory, working set being more important.
Working set is the amount of physical memory the process is currently using, this is data that it has recently accessed. Task Manager supposedly gives the working set under "Mem Usage" (it's possible that it's inaccurate, I haven't checked)
Virtual memory is probably a fairly well-known term, it's data that the process has allocated, but has not recently used, so Windows moved it out of physical memory. This doesn't really affect performance very much. Task Manager lists this as "VM Size" (iirc, not on by default)
Total memory usage is approximately working set + virtual memory, but that's not a terribly important number. Also, you have to realize that some of each of these is shared, such as the space taken by user32.dll. Freeing up shared space in one process will not result in that much more free memory.