From: Umakanth on 3 Sep 2009 09:43 I just noticed the memory usage of a simple win32 C based GUI application with single main window taking around 3 MB memory ( via Task Manager ) I used Dev-c++ and Mingw as compiler , and generated windows application via project wizard. why that so ? is there any way to reduce it ?
From: Vincent Fatica on 3 Sep 2009 10:13 On Thu, 3 Sep 2009 06:43:29 -0700 (PDT), Umakanth <cumakt(a)gmail.com> wrote: |I just noticed the memory usage of a simple win32 C based GUI |application with single main window taking around 3 MB memory ( via |Task Manager ) | |I used Dev-c++ and Mingw as compiler , and generated windows |application via project wizard. | |why that so ? is there any way to reduce it ? You can SetProcessWorkingSetSize(dwPID, (SIZE_T) -1, (SIZE_T) -1); It will look better in TaskMgr, perhaps only for a while since it'll reclaim memory as necessary. -- - Vince
|
Pages: 1 Prev: System-wide shell hook for click events in Explorer? Next: skeletal animation |