remove some redundant memory information