Optimize MFC Memory