remove in memory usage