Re: Memory limitation
- From: Rob Kennedy <me3@xxxxxxxxxxx>
- Date: Thu, 26 Oct 2006 13:25:42 -0500
Uffe Kousgaard wrote:
"Gilles Rosselet" <gilles.rosselet@xxxxxxx> wrote in message news:1161869678_122@xxxxxxxxxxxxxxxxxxxSo, does Delphi or Windows XP put a limit to the amount of memory a single program can use?
Windows does. If you have an absolute minimum of applications started (also counting virus filters, firewalls, services etc), you can get away with app. 1.7 GB RAM in a single application.
If you use the so-called /3GB option when starting windows, you can get appr. 2.7 GB RAM.
The documented limits are 2 GB and 3 GB. Where does the extra 0.3 GB go to in your calculations?
This requires that you stay away from pointer arithmetic on signed integers. If you want to use /3GB you should also use fastmm and enable the correct switches (see usage section of readme file).
Of course, avoiding signed pointer arithmetic and using FastMM are good ideas even if you don't need 3 GB of address space.
--
Rob
.
- Follow-Ups:
- Re: Memory limitation
- From: Hans-Peter Diettrich
- Re: Memory limitation
- From: Uffe Kousgaard
- Re: Memory limitation
- From: Marco van de Voort
- Re: Memory limitation
- From: CC
- Re: Memory limitation
- References:
- Memory limitation
- From: Gilles Rosselet
- Re: Memory limitation
- From: Uffe Kousgaard
- Memory limitation
- Prev by Date: Re: How to delete from palette
- Next by Date: Re: Memory limitation
- Previous by thread: Re: Memory limitation
- Next by thread: Re: Memory limitation
- Index(es):
Relevant Pages
|