file too large

Simon Marlow
Fri, 9 May 2003 10:14:24 +0100

> There seems to be a 2Gb file limit when using GHC, I don't suppose
> there's any way to get around it, apart from manually splitting the
> contents over several smaller files?  (I'm even unable to use
> writeFile on a file that's larger than 2Gb)

That's probably a bug, as long as the underlying OS uses 64-bit file
offsets.  How does the 2Gb limit manifest itself?