With a recent site launch, we’ve been having problems with Dreamhost killing page loads because of excessive RAM usage. They pasted us a few lines from their watcher script, and it showed some pages taking many seconds to load and using some 30mb+ of RAM. I couldn’t believe it, but upon opening debugging I do in fact see extremely large loads occurring. But I don’t know why.
Even on the simplest pages, such as a news detail page, the memory usage is 30mb. Disable tag is in use. With or without it, I’m not seeing a change in the load. As I turn things off and on in that template I’m finding that, out of the 30mb,
10mb is the entries tag pair itself
3mb is in the footer embed (solspace super search)
But that’s still leaving ~15mb+ of load just “there” without anything else on the page. I’ve also turned off the head, header, scripts, and anything else I could imagine using resources but nothing changes the issue.
I initially started caching the homepage and a few other larger pages, but as soon as I noticed even the most basic page was showing the same symptoms, I wanted to get official EE feedback. Thanks in advance.
The first few lines from the output:
(0.000021 / 11.60MB) - Begin Template Processing -
(0.000327 / 11.60MB) URI: news/detail/vendor-feature-ultrafabrics
(0.000362 / 11.60MB) Path.php Template: /
(0.000399 / 11.60MB) Retrieving Template
(0.000427 / 11.60MB) Parsing Template URI
(0.001580 / 11.61MB) Template Group Found: news
(0.003019 / 11.61MB) Retrieving Template from Database: news/detail
(0.005225 / 11.61MB) Template Found
(0.006501 / 11.62MB) Retrieving Template from File
(0.012775 / 11.94MB) Template Type: webpage
(0.012837 / 11.94MB) Parsing Site Variables
(0.012963 / 11.94MB) Snippets (Keys): segment_category_ids|segment_1_category_id|segment_1_category_parent_id|segment_1_category_group_id|segment_1_category_name|segment_1_category_description|segment_1_category_image|segment_2_category_id|segment_2_category_parent_id|segment_2_category_group_id|segment_2_category_name|segment_2_category_description|segment_2_category_image|segment_3_category_id|segment_3_category_parent_id|segment_3_category_group_id|segment_3_category_name|segment_3_category_description|segment_3_category_image|last_segment_category_id|last_segment_category_parent_id|last_segment_category_group_id|last_segment_category_name|last_segment_category_description|last_segment_category_image|freelancer_version|site_id|site_label|site_short_name|last_segment
(0.013003 / 11.94MB) Snippets (Values): |||||||||||||||||||||||||FALSE|1|Client|default_site|vendor-feature-ultrafabrics
(0.013934 / 11.95MB) Parse Date Format String Constants
(0.013998 / 11.95MB) Parse Current Time Variables