I am developing a PHP application that deals with a large MySQL database and now I am starting to go over my memory limit (64mb) in PHP because of the database queries. I was wondering what the best way is to prevent (and if not, stop) memory exhaustion in PHP and MySQL?
Share
I was able to compress the code into one SQL query so it just uses MySQL to get the numbers instead of PHP + MySQL:
Thanks!