Remove large stack memory