Ooops, I mean the last line of the reader's Export method.

On 05/16/2011 11:45 AM, Scott Hammel wrote:
> Oh, I think I see: last line of the serializer's serialize function 
> does this:
> bytes.toByteArray()
> where bytes is a ByteArrayOutputStream
>
> I *think* the max size of an array index in Java (32-bit) is 
> 2,147,483,647 (i.e., 2^31 - 1, max value of a java int). So, this 
> function will throw an exception if a datastream "archive" export is > 
> ~2 GB.
>
> scott
>
> On 05/16/2011 11:00 AM, Scott Hammel wrote:
>> Hi,
>>
>> Running some export tests using Fedora's REST export API, I get a
>> negative array index Java exception when doing an "archive" export of an
>> object at around 400 MB (>320 MB,<  450 MB).
>>
>> Fedora is version 3.4 something; running on 32-bit CentOS 5.5, Sun Java
>> 1.6, 21
>>
>> Is it just me or has anyone else seen something like that?
>>
>> Thanks,
>> Scott
>>
>> ------------------------------------------------------------------------------
>>  
>>
>> Achieve unprecedented app performance and reliability
>> What every C/C++ and Fortran developer should know.
>> Learn how Intel has extended the reach of its next-generation tools
>> to help boost performance applications - inlcuding clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> Fedora-commons-users mailing list
>> Fedora-commons-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>
>


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to