Escaping the JVM heap for memory intensive applications | Java Code Geeks
Direct Allocated Buffers are extremely useful and used extensively when developing high-performance network applications in Java NIO. By allocating data directly outside the heap, in a number of cases you can write software where that data actually never touches the heap. via Escaping the JVM heap for memory intensive applications | Java Code Geeks.