On Nov 8, 2007 5:04 PM, PokerAce <[EMAIL PROTECTED]> wrote: > I am using Windows Task Manager to determine memory usage. I minimize my > application (which causes the task manager to show a more accurate > measurement of memory used) and still the memory usage is enormous.
Windows Task Manager doesn't count DLL's memory usage twice, it just add that memory to the first linked program, while a second one will appear to consume a lot less memory (but inverting the situation when the order of the programs execution changes). For example, the first .NET application will seem to use a LOT of memory (because all the DLLs it will link to), while the second one may use just a few mega (which is probably the actual memory it's allocating more the program executable size, adding any DLL loaded specific to the program). As other said, use ProcessExplorer (www.sysinternals.com) if you really want to have a meaningful clue on the memory usage of your program. Regards, ~Nuno Lucas ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------