Steps to Increase Wp Memory Size from 40M To 256M
Step 1: Locate your (php.ini)
Step 2: Edit the (php.ini) file by adding: memory_limit = 256M
Or
Step 3: Locate your (wp-config.php)
Step 4: Edit (wp-config.php) file by adding: define (‘WP_MEMORY_LIMIT’, ‘256M’);
OR
Step 5: Edit (default-constants.php) file by replacing 64M and 40M both to 256M
And remeber the max limit is still 256M.