> > Message: 1 > Date: Wed, 10 Aug 2005 20:06:18 -0400 > From: Jack <[EMAIL PROTECTED]> > Subject: Delphi Apps Memory usage > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=us-ascii > > Hello all, > > A Delphi application with only one form and nothing else takes > 6MB memory if it's compiled with Delphi 2005, or 3.6MB if compiled > with Delphi 5. That's very big for an application that does nothing. > However, if I minimize the window to task bar, the memory usage > drops to below 1MB. Then I activate the window again, the memory > usage goes up to 1.xMB but does not go up all the way to 6MB or 3.6MB. > This works quite mysteriously. > > A VB app that I use with skinned forms and does a lot of things > takes below 3MB memory. When it's minimized to tray icon, it takes > 600KB. > > So my question is, is there any way to reduce footprint in memory? > It feels strange that the real app in VB that needs the VB runtime > libraries takes less memory then an empty Delphi app. > > -- > Best regards, > Jack
Got the same results. Note that VB is also using an external library - it is not a self contained program like your app. If yur target is unwhelmed in memory consider using packages. Otherwise it is not important. I have heard elsewhere that TaskMgr is not accurate. I have just run a real app with lots of images, database connections and resource intensive listviews and the like. On open it took 8MB memeory, minimised to .3MB and restored to 1MB. Even when filled with some 200 TListItems it only went up to 1.2MB. Who knows, mick _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

