code: func (rd *RAMDirectory) RamBytesUsed() int64 {
  	rd.EnsureOpen()
  	return atomic.LoadInt64(&rd.sizeInBytes)
  }
docs: /*
  Return total size in bytes of all files in this directory. This is
  currently quantized to BUFFER_SIZE.
  */