...
Direct buffers are not subject to Java's garbage collector, which can cause memory leaks if they are used injudiciously. In general, direct buffers should be allocated only when it can be shown that their use provides a significant gain in performance.
Bibliography
...