PHP memory lack on big channel removal
I got few issues when tried to remove relatiovely large channel from my hub.
I started with default memory_limit
value 128M and finally went to 1024M before channel was successfully deleted.
Also process took a lot of time and I got HTTP 500 "Internal Server Error" because of web server timeout while waited for procedure completion.
Seems we need to think how to decrease Hubzilla requirements for this procedure.
[17-Oct-2018 18:01:42 Europe/Kaliningrad] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /usr/local/www/tiksi.net/include/dba/dba_pdo.php on line 74
[17-Oct-2018 18:10:41 Europe/Kaliningrad] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 12288 bytes) in /usr/local/www/tiksi.net/include/dba/dba_pdo.php on line 96
[17-Oct-2018 18:11:31 Europe/Kaliningrad] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8192 bytes) in /usr/local/www/tiksi.net/include/dba/dba_pdo.php on line 96
[17-Oct-2018 18:13:03 Europe/Kaliningrad] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 12288 bytes) in /usr/local/www/tiksi.net/include/dba/dba_pdo.php on line 96
[17-Oct-2018 18:17:49 Europe/Kaliningrad] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8192 bytes) in /usr/local/www/tiksi.net/include/dba/dba_pdo.php on line 96
[17-Oct-2018 18:19:00 Europe/Kaliningrad] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 8192 bytes) in /usr/local/www/tiksi.net/include/dba/dba_pdo.php on line 96
[17-Oct-2018 18:19:00 Europe/Kaliningrad] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/local/www/tiksi.net/include/dba/dba_driver.php on line 328
Edited by Max Kostikov