Hello all. I tend to write my own content management systems for practice in xampp. For some reason it stopped loading this afternoon. I do not know what went wrong.
I am currently getting an error that says: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 35255167 bytes) in Unknown on line 0
How can I fix this? I tried googling but I could find nothing xampp specific.
I would recommend you avoid doing this on a live host, (make your code more efficient instead) but as long as it’s your localhost you could try throwing more memory at it. eg.
The error says your script has consumed all available server RAM.
You can increase limit as Mittineague said, but I would find what causes this in your code.
I guess you have forever loop somewhere so script never ends
I meant the phpmyadmin section of the xampp, so I suspect my code doesn’t play a role in there. I got the error on the login page and then after I logged in as well. However I turned it on this morning and it was gone.
I had a new error that said #2006 mysql server gone away when I tried inserting data. This I corrected by increasing the max_allowed_packet from 1m to 10m.