Hello, maxSize parameter calculation is wrong :( this not kbyte, just byte The error can also be simulated on the example page  thanks eggp