Memory Optimization of Hadoop Architecture