[DUG] Program design question

Allan, Samuel S.A.Allan at massey.ac.nz
Fri Jun 10 09:30:29 NZST 2005


Hi John,
 
How much lighter will the monitoring program be without the setup stuff
in it? I thought, and could be very wrong, because I have never had
cause to really find out, that a portion of a Delphi application's size
is made up by compiling all the libraries that you use into the
application. Like the VCL and stuff. I understand that you can compile
without them, but you still need to distribute them with your
application.
 
In the case of a very small application, this portion is far larger than
the size of the application's code. So if you write your setup stuff
into the monitoring application, it could be that the application will
hardly be any larger at all. This will be a heck of a lot easier for you
to write.
 
I don't know, maybe you have memory constraints that are far harsher
than my PC can imagine, but it also seems to me that unless your setup
program is really complex and large, what is another meg of RAM? When
your OS uses up how much? If when the setup program is running it takes
up lots of RAM, this is still no different than it would be if it was
written in a separate app. You create it when needed, then free it
after. Memory usage spikes in this time period, but it was gonna do so
anyway.
 
And there is a possibility that any memory hanging around, that is only
looked at when the setup function is running, will be paged out of the
computer's working set because it is not being used.
 
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20050610/2c02f222/attachment.html


More information about the Delphi mailing list