2014-11-06 23:25 GMT+01:00 Tudor Girba <[email protected]>: > Hi, > > > On Thu, Nov 6, 2014 at 10:50 PM, Peter Uhnák <[email protected]> wrote: > >> > It is indeed known that Pharo cannot open files larger than 4GB (even >> that after you setup the VM specifically). >> It seems like Pharo bug >> >> 1. FileReference>>gtInspectorItemsIn: composite >> ... >> column: 'Size' evaluated: [:each | each humanReadableSize] width: 100; >> ... >> >> 2. FileReference>>humanReadableSize >> ^ self size humanReadableSIByteSize >> >> 3. MessageNotUnderstood: False>>humanReadableSIByteSize >> because "self size" returns false for files > 4GB so it fails and thus I >> cannot navigate to folders with such files (for example my home directory). >> > > Ok. Could you please open a bug report on that for the inspector? > >
This is an issue for the linux vm : "14250 <https://pharo.fogbugz.com/default.asp?14250> Enable large file support on linux" on windows, you can list directories with files > 2G FileSystemStore returns false on #size, if the file can not be found. Thats the reason why the inspector shows the "MessageNotUnderstood: False>>humanReadableSIByteSize" error. And the files can not be found, because the unix VM uses lstat on the directory entries to retrieve the file attributes. And lstat does not work for files with sizes larger than 32Bit.
