Re: How to reduce memory usage?

From: Bruce Roberts (ber_at_bounceitattcanada.xnet)
Date: 11/17/03


Date: Mon, 17 Nov 2003 17:01:16 -0500


"Ingolf" <DONT_SPAMingolf@excite.com> wrote in message
news:3fb55ac1$0$95111$edfadb0f@dread11.news.tele.dk...

> Is there any guides or other tricks that i should know of? Or should i
> revert back to Delphi 3 for extremely small apps?

If you want a small app revert to assembler ;)

XP is a virtual memory system. A programs memory footprint is not static.
The RAM footprint reported by XP is not actual. The cost of reducing the RAM
footprint of a reasonably well written Delphi gui application is, IMO,
rarely worth it, presuming an application is gui. It makes much more sense
to spec a more robust computer, in my neck of the woods a P4 2.54, 256MB,
40GB machine sells for less than 300USD. Give me a break, one would have to
be deploying thousands of units before it would be cost effective to save a
couple hundred MB in memory footprint.



Relevant Pages

  • Re: RosAsm Team is Still Making Excuses
    ... and freeing any memory allocated). ... I would have thought that "10 years of delphi programming" you would have ... >> fallback to GDI when DirectX wasnt available. ... is how ANY NORMAL programmer would do things. ...
    (alt.lang.asm)
  • Re: Multithreading the IDE?
    ... > will get a lot of attention for the next Delphi release - and it will ... > of consuming significantly more memory than the more efficient single ... > threaded heap manager. ... > performance for a few Delphi apps. ...
    (borland.public.delphi.non-technical)
  • Re: IP Level Encryption
    ... The memory used by process A can be claimed by another process B ... >> will enable an attacker to execute arbitrary code, in Java this is ... any buffer overflow is detected and there is no ... Although I am also fond of Delphi, I don't think that it is a full ...
    (sci.crypt)
  • Re: Garbage Collection
    ... Any Delphi developer who has written any program of any size in Delphi most certainly is aware of memory leaking. ... I, for one, am happy that Delphi doesn't have garbage collection. ... Use FastMM and it will help you find all those memory leaks you inadvertently create. ...
    (borland.public.delphi.non-technical)
  • Re: Does MSIL Qualify?
    ... I realize I am getting spoiled with RosAsm, ... There are still some crashes with the debugger. ... Delphi, had bugs, at least uptil version 3.0 For instance, when replacing ... object memory, causing me to have to work in a real memory inspector to ...
    (alt.lang.asm)