Re: Over 1.5GB file limit?

Pat Thoyts <[email protected]> Mon, 28 Mar 2011 21:30:13 +0100
Newsgroups gmane.comp.db.metakit
Message-ID <[email protected]>
On 28 March 2011 21:13, Thadeus Burgess <[email protected]> wrote:
> What happens when the file goes over 1.5GB ?
>
> In my testing, generating random data to provide a metakit file of about 2GB
> (about 11milliion records). Metakit seems to be able to open and parse the
> file as normal.
>
> Is there any specific reason the GB file limit has been placed?
>
Metakit memory maps the whole database file in one single view. So on
32 bit systems the total addressable memory tends to be 2GB (this is
certainly the case for Windows) so taking into account your process
plus any dll's loaded you are likely to only be able to map in a file
of about 1.5 GB. Metakit itself permits larger files. There are more
than 32 bits available to hold the size of the data file (its not a
64bit number - its a 32bit + some bits from the next slot - I forget
how many).
On a 64 bit system with a 64 bit process you should be able to address
more space.
Its not clear to me what limit you are discussing here - but its
likely just the Windows 32bit process addressing limit.

-- 
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/metakit?hl=en