« Bad Guys Want Your Password | Main | New Shared Hosting Environment - an Introduction »

March 13, 2009


Feed You can follow this conversation by subscribing to the comment feed for this post.


Nice offering, you trying to make me lazy?

Currently I code to standards (learned a lot from that). I also take the time to resize images on my own machine, that takes no time at all. On my VPS, each site pretty much operates in a few megabytes of memory with the exception of the odd application package.

So, I'm now wondering, if you tax memory usage do you also do rebates? :*)


Modwest Team,

Is there a way we can test our Web site/CMS for memory usage? We are running a CMS, but not Drupal or Joomla.


John Masterson


In the current shared hosting environment, the only way to test for memory utilization is to exceed the limit, resulting in an Internal Server Error and "Unable to allocate" messages in the /logs/error_log.

In the new environment (http://blog.modwest.com/2009/04/new-shared-hosting-environment-an-introduction.html), PHP's memory-checking functions (http://php.net/manual/en/function.memory-get-peak-usage.php) will be provisionally available.

Bear in mind that having a higher memory ceiling doesn't make a complex CMS site run faster, it will just prevent the error.

The comments to this entry are closed.