Increasing memory allocated in WordPress

Sponsors

Many people faced memory issue wordpress and WordPress itself uses the so much memory. By default wordpress uses the 32mb memory.

First you need to know what is the use of increasing the memory limit for wordpress. If I increase the WP_MEMORY_LIMIT from 32M to 64 or 96M will it make my website load fast.

We can adjust the amount of memory using the wp-config.php file.

define('WP_MEMORY_LIMIT', '96M');

Many shared hosting provides the default memory for php. What I see most commonly shared hosting set the memory limit to 8mb or 16mb. They does not allow you to increase the php memory limit and in that case if you changed the wp-config file then also there is no use of that change.

What that setting do?
This setting increases PHP Memory only for WordPress, not other applications. By default, WordPress will attempt to increase memory allocated to PHP to 32MB (code is at beginning of wp-settings.php), so the setting in wp-config.php should reflect something higher than 32MB.

You may like following Articles!

5 thoughts on “Increasing memory allocated in WordPress

  1. I came across your site while searching for more information about my mower, but I always love a great do-it-yourself site. I’m going to bookmark the site and look forward to reading more articles.

  2. Hey i love your blog, found it while randomly surving a couple days ago, will keep checking up please do visti mine if you wish :) . Btw yesterday i was having troubles opening the site. Bye…

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>