Removing memory consuming parts