add progressbar for memory
progressbar for memory