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

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -