Few of you might have faced this memory limit issue on your server and wordpress by which some of the features may behave improper
you can solve this issue very simply
let us take an case study
suppose your server size limit is 1 Gb you can decide memory limit project wise , folder wise and wordpress level
To set memory limit in php project
to change go to
php.ini file and change in
memory_limit = “as per your desire” ;
To set memory limit in folder level
go to .htaccess file: and change
php_value memory_limit 256M or as per your requirement
To set memory limit in wordpress level:
Edit your wp-config.php file and enter something like:
define(‘WP_MEMORY_LIMIT’, ‘256M’);
to use this you must be careful about the hierarchy of your server memory
server memory
php memory
wordpress memory
if child memory is more then parents then it will give the error
Thank you hope this information worked for You