[squeak-dev] Re: [Pharo-users] Trouble opening large files

Nicolai Hess nicolaihess at web.de
Tue Oct 14 18:26:47 UTC 2014


There is a bug report on mantis for squeaks unix vm.
I think this applies to pharo too, although I don't know if this
bug is still valid on recent squeak vm.

http://bugs.squeak.org/view.php?id=7522

2014-10-14 17:43 GMT+02:00 Evan Donahue <emdonahu at gmail.com>:

> The OS is Arch Linux.
>
> I can read the file with less.
>
> The problem, insofar as I can trace it, seems to stem from this line in
> UnixStore:
>
> Primitives lookupDirectory: encodedPath filename: encodedBasename
>
> When I have my 57G file there this line returns nil. If I move the 57G
> file and create a small file with the same name, the same command
> successfully finds the file. I am not sure how large a file must be to
> cause this issue, but A 1.5G file works fine.
>
> On Tue, Oct 14, 2014 at 8:17 AM, Nicolai Hess <nicolaihess at web.de> wrote:
>
>> 2014-10-14 6:38 GMT+02:00 Evan Donahue <emdonahu at gmail.com>:
>>
>>> Hi, thanks for the reply.
>>>
>>> The response is the same: "MessageNotUnderstood:
>>> False>>humanReadableSIByteSize."
>>>
>>> This happens both to print-it as well as to do-it-and-go. Running the
>>> command on the neighboring "wiki.torrent" torrent file yields the correct
>>> 54kb.
>>>
>>> Thanks,
>>> Evan
>>>
>>> On Tue, Oct 14, 2014 at 12:24 AM, Tudor Girba <tudor at tudorgirba.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> If I understand correctly, the failure occurs while navigating in the
>>>> "Items" presentation.
>>>>
>>>> I cannot reproduce this problem because I do not have enough disk space
>>>> for such a large file :). But, could you do the following and let me know
>>>> what the outcome is:
>>>>
>>>> 'path/to/your/large/file.xml' asFileReference humanReadableSize
>>>>
>>>> ?
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>>
>>>>
>>>> On Tue, Oct 14, 2014 at 2:27 AM, Evan Donahue <emdonahu at gmail.com>
>>>> wrote:
>>>>
>>>>> Hello, I've run into some odd behavior and wanted to check whether I
>>>>> might be missing something:
>>>>>
>>>>> I have downloaded a copy of the english wikipedia as an xml file and
>>>>> am hoping to (sax) parse it. However, I can't even seem to get pharo to
>>>>> recognize that the file exists.
>>>>>
>>>>> If I open FileSystem disk root in the playground and naigate,
>>>>> attempting to enter the folder containing the (57G) xml file fails with
>>>>> "MessageNotUnderstood: False>>humanReadableSIByteSize." Likewise if I get a
>>>>> FileReference with FileSystem disk root / 'path' / 'to' / 'file' then self
>>>>> exists returns false and the parser fails.
>>>>>
>>>>> Am I doing something wrong? Should I be able to do this?
>>>>>
>>>>> The version number is #40283
>>>>>
>>>>> Thanks,
>>>>> Evan
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "Every thing has its own flow"
>>>>
>>>
>>>
>>
>> Which OS ?
>> Can you check with other programs if this file is readable at all?
>>
>>
>>
>>
>> Nicolai
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20141014/edd0402e/attachment.htm


More information about the Squeak-dev mailing list