Added method to obtain memory usage of domain