How To Decrease Memory Consumption