Hai Hi you are facing memory size problem ?
PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate … bytes) in …
The error normally occurs when PHP tries to process a big database records or when importing or exporting. To solve the error, there are two resolutions. One is to change and increase the memory limit of the particular PHP script by adding or including an additional line at the top of the script:
ini_set('memory_limit','16M');
Another way is to modify php ini file
To change the memory allocation limit permanently for all PHP scripts running on the server, modify the PHP.INI configuration file of the server. Search for memory_limit after opening the file in an editor. If the memory_limit doesn’t exist, add the following line. If it’s there, modify the value of the memory_limit:
memory_limit = 16M
The 12M sets the limit to 12 megabytes (12582912 bytes). Change to the value you desirable.
An alternative way is to modify your PHP scripts that generate the error for more efficiency and better data handling.
If you want to save memory which script than you have to unset variables and methods ok.
For more details contact Us. ![]()