Allocation on heap, GC involved.   
the process used 2G RAM       
    
the buffer is one the HEAP Old space,    
If allocatedirect on RAM,
still 2G as a whole
but not on Heap,
   
so The heavily used buffer appropriately continues to use a non-heap, non-garbage-collected direct buffer.
 
 
No comments:
Post a Comment