Adding popup to display the memory usage.