My web host is telling me that my website is using too much memory. I did everything I can think of to bring it down, but unfortunately it's still much higher than what's acceptable. Any suggestions on how I can lower the memory usage of my website is welcome. BTW, my site is in PHP, content only (no chats, forums, etc). I do have Wordpress installed with a number of plugins enabled.
Thanks in advance.
Suggestions on how to lower website memory usage?
Make sure that all of your images are converted/scaled to a small size.
For example: If you have a picture that is 800 pixels by 600pxls and you are displaying it a 160pxls x 120pxls, shrink it down to 160pxls by 120pxls!
You don't need high-res pictures if they don't need to be enlarge or viewed closer.
(Use the Gimp for image editing... http://gimp-win.sourceforge.net/stable.h... )
Suggestions on how to lower website memory usage?
FIREFOX !!!!!
GET IT !
SEE THE DIFFERENCE!!!
Reply:If you have the WP-Cache module installed, that might be the problem. Caching increases the speed of the site by using additional memory. Try disabling it.
You can manually set the memory limit with this:
ini_set("memory_limit","16M");
To whatever you need, of, if you have access to the php.ini file, you can add it there.
I'm not too familiar with Word Press, but without knowing what modules you're running, and what the memory limit is, and how much you are using, there's not much more I can say.
Hope it helps.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment