Iris Software Interview Question

How memory distribution in java is managed