Re: Memory limitation



Uffe Kousgaard wrote:
"Gilles Rosselet" <gilles.rosselet@xxxxxxx> wrote in message news:1161869678_122@xxxxxxxxxxxxxxxxxxx
So, 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
.



Relevant Pages

  • Solving the Blue Screen Of Death
    ... my Windows XP Pro installation started to experience ... eventually tracked it down to a faulty RAM stick (which had been fine ... Blue Screens of Death. ... The BSOD stop errors would vary (a lot of articles assume you always ...
    (microsoft.public.windowsxp.help_and_support)
  • Solving the Blue Screen Of Death
    ... my Windows XP Pro installation started to experience ... before I eventually tracked it down to a faulty RAM stick (which had ... Blue Screens of Death. ... The BSOD stop errors would vary (a lot of articles assume you always ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Added RAM to Win XP Home Edition Need Advice
    ... No question the extra RAM has helped things a lot. ... There are no special settings you NEED to make to get Windows XP to accept ... You should at least turn on the built in firewall. ... I see that AntiVirus software is an absolute necessity given ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: ADT Pro With Windows 7 (64-Bit)
    ... I simply making the case that without Virtualization and without Windows XP ... extensions) into most server editions of windows, on the consumer editions ... The 4GB RAM is starting to come into play here. ... and maybe even video that was pulled from MANY corporate business information ...
    (comp.sys.apple2)
  • Re: Control Panels System Reporting Error
    ... When you click on System Monitor or Performance you should see a graph on the right hand pane, right click that pane and you should see Add ... How to manage System Monitor counters in Windows XP ... Doesn't it tell you in Task Manager how much RAM you have? ... I would think that adding RAM above 2GB would probably help with video ...
    (microsoft.public.windowsxp.basics)