class MemoryManager {

	public long computeMemorySize(double fraction) {
		Preconditions.checkArgument(
			fraction > 0 && fraction <= 1,
			"The fraction of memory to allocate must within (0, 1], was: %s", fraction);

		return (long) Math.floor(memoryBudget.getTotalMemorySize() * fraction);
	}

	  MemoryManager(long memorySize, int pageSize, int verifyEmptyWaitGcMaxSleeps);

}