Improved memory disposing