adding used memory value calculating collector thread