problem with viewing large files
Pavel Roskin
proski at gnu.org
Sat Feb 16 04:30:17 UTC 2002
Hi, Adam!
mc-4.5.55 is not compiled with large file support by default.
The current code (see snapshot on www.midnightcommander.org) defaults to
using 64-bit file offsets. There are still things that need to be
cleaned up, especially in the viewer.
You din't mention the OS you are using. On some OSes MC doesn't use mmap
in the viewer, but instead tries to load the whole file in memory. Of
course it fails if the size of the file is more than the size of your
memory and swap combined.
--
Regards,
Pavel Roskin
More information about the mc
mailing list