allowed memory size of 33554432 bytes exhausted magento
Hello Friends,
While working with magento lot of us get error in magento due to server memory issue. because of this problem magento didn’t work properly .
So you try for google for too many code and can’t find best one.
Today i will share with you all codes with your for fix this issue 100%
i have 3 method to get rid of this problem.
Method 1. .htaccess
open your .htacess file and add those lines or replace your memory limit to just 1024M
# adjust memory limit
php_value memory_limit 1024M
php_value max_execution_time 18000
Method 2. php.ini
open your php.ini file and add those lines or replace your memory limit to just 1024M
; adjust memory limit
memory_limit = 1024M
Method 3. Index.php
open your index.php file and add those line bottom line in your page .
ini_set(“memory_limit”,’1024M’);
Select any one method and just refresh your page with ctrl +f5 and see the results 🙂