Re: Huge arrays
From: Avatar Zondertau (avatarzondertau_at_hotmail.com)
Date: 05/20/04
- Previous message: Rigas: "Re: Huge arrays"
- In reply to: Rigas: "Re: Huge arrays"
- Next in thread: Bryan Crotaz: "Re: Huge arrays"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 May 2004 05:42:43 -0700
> u mean to write the values on the drive?
Yes - you store the array in a file. When you need to use some part of
the array you load it from disk and, if you changed it, you write it
back afterwards.
> So there is a limitation in general the arrays I can have cannot be
> in total more that 2GB in memory?
Yes, in the Win32 environment you can never have arrays larger than 2
GB in memory. In practice the size of the largest array you can
allocate is even somewhat smaller, because other things are loaded in
the process space as well (your application, possibly DLLs or packages
and the stack).
In Win64 creating a large array like this will be possible, but for
this to work you need
- A 64-bit CPU (only few people have one)
- A 64-bit Windows version (i think one exists already, but i'm not
sure)
- A 64-bit compiler (Delphi doesn't have this - yet?)
- Previous message: Rigas: "Re: Huge arrays"
- In reply to: Rigas: "Re: Huge arrays"
- Next in thread: Bryan Crotaz: "Re: Huge arrays"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|