Why use Memory Mapped File or MapppedByteBuffer in Java 6) Memory mapped IO is much faster than Stream...

Please Visit: http://ift.tt/1ajReyV



Why use Memory Mapped File or MapppedByteBuffer in Java

6) Memory mapped IO is much faster than Stream IO in Java.

7) Memory used to load File is outside of Java heap and reside on shared memory which allow two different process to access File. By the way this depends upon, whether you are using direct or non-direct byte buffer.

8) Reading and writing on memory mapped file is done by operating system, so even if your Java Program crash after putting content into memory it will make to disk, until OS is fine.

http://ift.tt/1ebvkPQ

Done






from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1E315fY

via LifeLong Community

No comments:

Post a Comment