code: public Option<Long> getNumberOfAllocatedBytes()
  			throws NoSuchFieldException, IllegalAccessException {
  
  		if (directArenas != null) {
  			long numChunks = 0;
  			for (Object arena : directArenas) {
  				numChunks += getNumberOfAllocatedChunks(arena, "qInit");
  				numChunks += getNumberOfAllocatedChunks(arena, "q000");
  				numChunks += getNumberOfAllocatedChunks(arena, "q025");
  				numChunks += getNumberOfAllocatedChunks(arena, "q050");
  				numChunks += getNumberOfAllocatedChunks(arena, "q075");
  				numChunks += getNumberOfAllocatedChunks(arena, "q100");
  			}
  
  			long allocatedBytes = numChunks * chunkSize;
  			return Option.apply(allocatedBytes);
  		} else {
  			return Option.empty();
  		}
  	}
docs: Returns the number of currently allocated bytes.
  
  <p>The stats are gathered via Reflection and are mostly relevant for
  debugging purposes.
  
  @return Number of currently allocated bytes.
  
  @throws NoSuchFieldException   Error getting the statistics (should not
  happen when the Netty version stays the
  same).
  @throws IllegalAccessException Error getting the statistics (should not
  happen when the Netty version stays the
  same).