[Talk-de] Pbf > 4 Gig Java - Problem schon irgendwo gelöst?

Chris66 chris66nrw at gmx.de
So Mai 1 20:45:09 UTC 2011


Am 01.05.2011 22:13, schrieb Carsten Moeller:
> Am 01.05.2011 22:08, schrieb Henning Scholland:
>> Ist in osmosis 0.39 gefixt.
> 
> Bevor ich jetzt mein SVN bemuehen muss...
> Eine Idee, was der Grund war?

Es wurde die 'available' Funktion benutzt, die unter Windows bei
Dateigrößen ab 4 GB anscheinend anders als unter Linux arbeitet.

*int* available()

Returns an *estimate* of the number of bytes that can be read (or
skipped over) from this input stream without blocking by the next
invocation of a method for this input stream.

Fettung von mir (soll verdeutlichen, dass man diese Funktion
bei großen Dateien lieber meiden sollte).

Chris





Mehr Informationen über die Mailingliste Talk-de