InMotion Hosting Support Center

Question regarding InMotion Hosting's Memory Viewer WordPress Plugin

Category: Wordpress

2012-05-16 11:54 am EST

Hits: 452
Okay, now I have another question. Do the memory figures include the Cufon font or jQuery slideshow includes that may be pulled into site? And how about the memory that the TimThumb.php script consumes?

You must login before you can ask a follow up question.

You must login before you can submit an answer.



5,399 Points
2012-05-16 12:04 pm EST
Hi jjclarkson,

The WordPress Memory Viewer plugin uses <a href='' target='_blank'>PHP's memory_get_usage() function</a> to see how much memory is being used.

<strong>According to the function's documentation, this plugin:</strong>
Returns the amount of memory, in bytes, that's currently being allocated to your PHP script.

I reviewed the documentation again, but it was not too specific as to what is included in the memory usage. What I am fairly confident about however is that the memory usage does not take into consideration images being called. Unless you have PHP set to parse images for some reason, when a user calls for an image from your server, it is simply sent to the user. There is no parsing of that image by PHP, and therefor no increase is added to PHP's memory usage based upon images that you're using.

I hope that helps!

- Brad

You must login before you can post a comment about this answer.


5,399 Points
2012-05-16 12:22 pm EST
Hi jjclarkson,

As TimThumb.php is parsed by PHP, the memory used by that script should be accounted for in the memory usage displayed.

As jQuery is javascript, most of what it is doing is not going to involve any php, so jQuery related scripts and the memory they use should not be in the memory usage display. Javascript runs on the user's browser, so any memory used by Javascript will be used on the users computer and not on the server.

- Brad

You must login before you can post a comment about this answer.

Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!