fix current memory use