Change the setting in PHP.ini
realpath_cache_size = 16k
realpath_cache_ttl = 120
People, changing the memory_limit by mentoning the line in PHP page
ini_set('memory_limit', '-1');
is not a solution at all. Please don't do that. Obviously php has a memory leak somewhere and you are telling the server to just use all the memory that it wants.