import java.nio.ByteBuffer; 
 public class TestDirectBuffer 
 { 
   public static void main( String args[] ) throws Exception 
   { 
	   System.out.println(Runtime.getRuntime().maxMemory());  
       ByteBuffer.allocateDirect(1024 * 1024 * 11); 

   } 
 } 
