====== PFSense - Suricata - Troubleshooting - PHP - Allowed Memory Size Exhausted ====== {{:pfsense:suricata:troubleshooting:suricata_-_php_-_allowed_memory_size_exhausted.png?800|}} ---- ===== Cause ===== Trying to view large Suricata logs. **NOTE:** The PHP process that the GUI runs within has limits on the amount of memory a given PHP session can consume. This is set during boot-up time by pfSense. ---- ===== Resolution ===== Can try if ($ARCH == "amd64") { ini_set("memory_limit", "1024M"); } else { ini_set("memory_limit", "128M"); }