[squeak-dev] filesize reporting 0 for very large files
David T. Lewis
lewis at mail.msen.com
Fri Mar 16 04:45:57 UTC 2012
On Thu, Mar 15, 2012 at 10:35:47PM -0500, Chris Muller wrote:
> I have a 3.2GB file, but Squeak reports its #fileSize as 0 (in the
> DirectoryEntry). It seems to occur for any file that large.
>
> Is it an overflow condition in the VM? Is it possible to fix?
It works fine with an interpreter VM compiled in 64-bit mode. I
cannot look into it in detail now, but an educated guess is that
it relates to the definition of size_t for 32-bit programs, and
that for the kind of work you are doing here a 64-bit VM may be
in order.
Dave
More information about the Squeak-dev
mailing list
|