5 – Out of memory (Needed 1048548 bytes)
This error is not occur with the php, this will happen about the mysql error.
The only solution is to
Need Help Optimising your database? Looking for a good to OPTIMIZE / REPAIR specific tables, databases, or servers? Here is a code that may help. Very easy to install. No files to change.
I take no credit for this contribution. I merely found it when trying to find ways to
improve my site performance. Here is the link to the original file and article:-
we can down load that file from the following link :
and run that file with give the database details.
then that error might not occur.