Hi Andrey,

On Apr 15, 2015, at 3:10 AM, Андрей Парамонов <[email protected]> wrote:

> Hello Elena, thank you for your reply!
> 
> 15.04.2015 5:49, Elena Pourmal пишет:
>> Hi Andrei,
>> 
>> You are definitely driving HDF5 to its limits :-)
>> 
>> HDF5 has a limitation on the index value for the attributes (2 bytes);
>> see attribute info message
>> <http://www.hdfgroup.org/HDF5/doc/H5.format.html#AinfoMessage> in the
>> HDF5 File Format Specification.
>> 
>> Nevertheless, I think it is a bug and we will need to address it. May be
>> you’ve already noticed that the file becomes corrupted. I entered an
>> issue into our JIRA DB HDFFV-9281.
>> 
>> All,
>> 
>> Is there a good reason to have more than 65533 attributes on an object?
>> If so, we will need to change HDF5 files format.
> 
> I agree that having 65533 attributes is crazy :-)
> 
> However if you look at the code you will see that the file has at most 2 
> attributes at a time (note the call to H5Adelete).
Yes, this is true. The file has only two attributes, but right now, the library 
doesn’t “reuse” the index, so attribute creation index is growing. We will 
definitely look into the issue.
> 
> I was able to circumvent the problem in my client code, but it's still 
> unexpected that index value grows unlimited in this case. Would be good to 
> have it fixed someday.
Agree. 

Thanks again for reporting a nice bug :-)

Elena
> 
> Best wishes,
> Andrey Paramonov
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
> Twitter: https://twitter.com/hdf5

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to