PHP Fatal Error message | How much memory lacks | Can be enlarged? |
---|---|---|
Allowed Memory Size of 33554432 Bytes Exhausted | 32mb | Yes |
Allowed Memory Size of 67108864 Bytes Exhausted | 64mb | Yes |
Allowed Memory Size of 134217728 Bytes Exhausted | 128mb | Yes |
Allowed Memory Size of 268435456 Bytes Exhausted | 256mb | Yes |
Allowed Memory Size of 536870912 Bytes Exhausted | 512mb | In some cases |
Allowed Memory Size of 1073741824 Bytes Exhausted | 1024mb or 1G | Risky |
Allowed Memory Size of 2147483648 Bytes Exhausted | 2048mb or 2G | Risky |
[root@REDACTED ~]# nano /etc/php.ini
-bash: fork: Cannot allocate memory
[root@REDACTED ~]# nano /etc/php.ini
nano: error while loading shared libraries: libtinfo.so.6: failed to map segment from shared object
[root@REDACTED ~]# nano /etc/php.ini
^C
[root@REDACTED ~]# systemctl restart php-fpm
systemctl: error while loading shared libraries: libgpg-error.so.0: failed to map segment from shared object
[root@REDACTED ~]# systemctl restart php-fpm
systemctl: error while loading shared libraries: libcryptsetup.so.12: failed to map segment from shared object
[root@REDACTED ~]# systemctl restart php-fpm
^C
[root@REDACTED ~]# systemctl restart php-fpm
^C
[root@REDACTED ~]# nano /etc/php.ini
nano: error while loading shared libraries: libdl.so.2: failed to map segment from shared object
[root@REDACTED ~]# nano /etc/php.ini
Segmentation fault
[root@REDACTED ~]# nano /etc/php.ini
^X^C
[root@REDACTED ~]# pkill -9 php-fpm
[root@REDACTED ~]#