[Gdal-dev] Large Files on Win32

Frank Warmerdam warmerdam at pobox.com
Mon Jan 23 13:32:47 EST 2006


Folks,

For a client, I have been trying to produce fairly large
mosaic files on Win32.  I ran into a problem with writing
files larger than about 150GB and after some investigation
have come to the conclusion that there is some sort of a
page pool in the kernal that limits the total disk space for
open disk files (or something like that).

Based on the MS knowledge page article at:
  http://support.microsoft.com/default.aspx?scid=kb;en-us;247904

I tried setting registry entry:

  "HKLM\System\CurrentControlSet\Control\Session Manager\Memory
Management\SystemPages"

to a value like 200000 hex and found I could write somewhat
larger files.

So, if you run into inexplicable problems with large files,
consider modifying the setting with care.  You might destabilize
your system, so do appropriate backups first.  After modifying
with regedit, remember to reboot for it to take effect.

PS. Also keep in mind that FAT32 file systems don't support
very large files.  Use NTFS for large files.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list