I recently upgraded the PHP version of one of my sites to 5.3.0 in the Dreamhost control panel. Over the past few days, I’ve noticed the memory usage on my site seemed a bit high as well, so I decided to try troubleshooting it.
I created a blank test page and reduced it’s entire code down to:
This is what my memory usage is on the page:
This is over 620KB being used on a totally blank page. It seems a bit much, especially if traffic were to ever pick up dramatically. I print these numbers out on all my pages when my admin account is logged in and my LIVE homepage used to only use between 200k and 400k memory. That number is now 800k-900k and the rest of my pages are using much more memory now, which is my major reason for concern.
Let me know if this seems normal to you, or if this is normal for PHP 5.3.0. Note, I’ve created PHPRC file to allow member to upload larger files and increase the timeout time. The file only consists of:
upload_max_filesize = 32M
post_max_size = 32M
max_execution_time = 300
max_input_time = 300
I’m not sure if this has anything to do with 620KB being used by default all pages.