A last-thing-before-going-home-for-the-weekend thought. I have had occasion today to scrutinize closely the 'system footprint' one of my FTN95-built apps that was - ahem - causing difficulty on an (admittedly pitifully underspec) machine, having always behaved itself well on all machines it has been run on to date. I used an application called TaskInfo2002 for this purpose. I was rather taken aback to discover that my app had approximately 270 MB of virtual memory associated with it. This is at the stage where it first posts the main window, before it actually does anything resource-hungry. This prompted me to look at a couple of other FTN95 system tray apps that I have written; these have approximately 180 MB and 280 MB of virtual memory associated with them. Same whether I run debug or release mode builds.
It's not like these apps use huge multidimensional arrays or anything. The system tray apps in particular use trifling amounts of data storage. The exe for one is only 40 kB.
Some comparisons:
- MS Excel with a spreadsheet open, 70MB
- MS Word with a document open, 230 MB
So my question is ... how can my apps, particularly the 'trivial' system tray ones, require as much virtual memory as they do? Is it a consequence of the 'use clrwin' statement? Is this a sledgehamer to crack a nut in general?
Andy 😕