Do you mean a server RAM or HDD? I'm not sure what exactly you are trying to achieve... Have you (first of all) worked with a WordPress plugin called WP-Cache?