flat assembler
Message board for the users of flat assembler.
Index
> Windows > Saving Memory...? |
Author |
|
revolution 14 Feb 2008, 03:51
itsnobody wrote: Anyone know how to use the least amount of memory possible? |
|||
14 Feb 2008, 03:51 |
|
itsnobody 14 Feb 2008, 04:20
revolution wrote:
I'm not running out of memory, but when I view the task manager I see some other programs using less than 344k of memory, like 92k of memory....just wondering how to make a Windows Program that doesn't waste memory |
|||
14 Feb 2008, 04:20 |
|
revolution 14 Feb 2008, 06:10
The memory is not necessarily wasted. Windows needs to keep a number of tables so that it can properly close things if the app exits without cleanup. Also, the DLL memory is shared with the other tasks and only uses up the memory once but it will appear in the memory maps of multiple processes.
The figure given in task manager is the running set size, not the actual memory allocation. That figure changes depending upon how active the task is. Unused pages of memory are marked as swappable and removed from the process memory map. |
|||
14 Feb 2008, 06:10 |
|
f0dder 14 Feb 2008, 12:21
Get sysinternals' Process Explorer, it has better (and better named) stats than taskmgr. Also, start->run perfmon.msc (unless you're on win9x).
|
|||
14 Feb 2008, 12:21 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.