java - Behaviour DataInputStream into mapping -
i had problems save file disk. path save, in environment, it's mapping (the disk in server). a - when try save datainputstream
loop, reading "byte per byte", takes lot of time (~12 min / mb). b- now, read passing byte[8192]
. solve problem. know b faster a but, when run same code, trying save local disk, there no difference, both take same time. why mapping takes lot of time? read byte[8192]
@ time can cause problems?
tks!
Comments
Post a Comment