Thanks for clarifying Ben,

I recompiled without the fstat, but I think because the image we have is so
huge its filling up memory on the machine. At least disabling mmap still
works, presumably the fix will work for smaller files.

Colin

On 1 September 2016 at 13:56, Ben Woodhall <woodh...@thefoundry.co.uk>
wrote:

> Looking at the code in the bug, it appears that the stat isn’t used
> anywhere so it’s safe to delete.  The 'disable mmap' option is just to
> circumvent the bug without having to build the plugin.
>
> Thanks, Ben
>
> On 1 Sep 2016, at 11:35, Colin Alway <colin.al...@gmail.com> wrote:
>
> Hi,
>
> Just spotted this post while trying to work out why our PIZ compressed
> files were not loading  :)
>
> The disable mmap option works, but is it safe to say I can comment out the
> fstat call - it's not actually being used inside the loop is it.
>
> thanks
> Colin
>
> On 29 January 2016 at 11:53, Ben Woodhall <woodh...@thefoundry.co.uk>
> wrote:
>
>> Hi Nathan,
>>
>> Good spot.  Fortunately this only affects reading PIZ compressed EXR
>> files on Linux.  If this causes problems, there is a "disable mmap" option
>> to work around the issue.
>>
>> I have opened a bug:
>>
>>         #175254  exrReader (FileIO) - fstat in channel loop on linux for
>> PIZ files
>>
>> Please note this bug if you use our source for tweaking the exrReader.
>>
>> Thanks again for sending this through,
>>
>> Ben
>>
>> On 28 Jan 2016, at 19:44, Nathan Dunsworth wrote:
>>
>> > <exr_fstat.png>
>> > ​
>> > Err...
>> >
>> > <yodawg.png>
>> > ​
>> > _______________________________________________
>> > Nuke-users mailing list
>> > Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>> > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>
>> --
>> Ben Woodhall
>> Software Engineer
>> The Foundry Visionmongers Ltd
>> 5 Golden Square
>> London, W1F 9HT
>> Tel: +44(0)20 7473 4350
>> Web: www.thefoundry.co.uk
>> Email: ben.woodh...@thefoundry.co.uk
>>
>> The Foundry Visionmongers Ltd.
>> Registered in England and Wales No: 4642027
>>
>>
>>
>>
>> _______________________________________________
>> Nuke-users mailing list
>> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>
>
>
>
> --
> colin alway
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
> Ben Woodhall
> Software Engineer
> The Foundry Visionmongers Ltd
> 5 Golden Square
> London, W1F 9HT
> Tel: +44(0)20 7473 4350
> Web: www.thefoundry.co.uk
> Email: ben.woodh...@thefoundry.co.uk
>
> The Foundry Visionmongers Ltd.
> Registered in England and Wales No: 4642027
>
>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>



-- 
colin alway
_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to