figure with memory monitoring