Re: Delphi application & windows resources

From: Michael Baytalsky (mike_at_retaildecision.com)
Date: 10/22/03


Date: Wed, 22 Oct 2003 15:28:06 -0400


> It isn't necessarily the component - it can be the number of them.
Very true. My DataModule containing obviously no windowed components
at all consumes about 50% of all the resources consumed by application.
This is because I use persistent fields and they're numerous.
You can try to avoid using them, but it's not always easy.
You can try to split a large data module into several small ones and create
them as they needed. What I personally had to resort to is destroying
inactive/invisible screens (my application looks like Outlook, rather then
typical MDI) and then recreating them (restoring exact position and all)
when use revisits them later. This allowed me to control the amount of
resources required.

One more thing: if you have a combobox somewhere, that lists fonts or
something like that, try to avoid having it filled all the time - threre
could be a
lot of fonts installed and each combobox item consumes resources.

Sincerely,
Michael



Relevant Pages

  • Re: AV Recommendations
    ... anyone have any links or info regarding the system memory an ... > process cycles that the AV consumes, basically how much resources it ...
    (alt.comp.anti-virus)
  • Re: best internet security
    ... Can Anyone Tell Me Which Is The Best Internet Security Suite.. ... Which Consumes Less Resources But Most Efficient... ... McAfee Virus Scanner, use Windows XP firewall and run Ad-Aware on a regular basis but I have never had ...
    (microsoft.public.windowsxp.help_and_support)
  • OT: Industrial Process modeling
    ... CNC machine time 60 minutes - consumes C kwh of electricity. ... I'd like to feed the app resources, characteristics of those resources, ...
    (Fedora)
  • Re: Returning a reply / message (line) during a loop in srvrsmtp.c...
    ... process on your box probably consumes far more of your resources than ... Even if I do not really slow down the zombie to any meserable good, I will probably slow down it's dictionary attck on my system, thus in some way making my system a tad bit more secure by making it harder for it to complete said dictionary attack. ...
    (comp.mail.sendmail)
  • Re: View Active choices in combobox...
    ... amount of resources and time. ... >> I have a combobox referred to a table that has an end date for the code. ... > The RowSource for the ComboBox needs to Requery with every record change. ...
    (microsoft.public.access.formscoding)