Art-of-WiFi / UniFi-API-browser

Tool to browse data exposed by Ubiquiti's UniFi Controller API
MIT License
1.1k stars 150 forks source link

Fatal error: Allowed memory size of xxxxxx bytes exhausted #3

Closed malle-pietje closed 8 years ago

malle-pietje commented 8 years ago

If you see such an error in your PHP error logs you don't have enough memory allocated to PHP. You can refer to the About modal in the latest version, to see how much memory is allocated to PHP, and what the peak memory consumption was for the latest page load.

If this happens with large data collections such as "events", the recommended fix is to increase the limit in your php.ini file, if you have sufficient RAM. Here's just one of the many how to's: http://tutorials.hostucan.net/how-to-increase-php-memory-limit/