Backup fails Allowed memory size of bytes exhausted

Hello ,
When trying to run a backup on Fbpx 15 I get the following error :
Exporting Databases from callaccounting
Exporting Advanced settings from callaccounting
Whoops\Exception\ErrorException: Allowed memory size of 536870912 bytes exhausted (tried to allocate 85712100 bytes) in file /var/www/html/admin/modules/backup/Json/json_encode.php on line 5
Stack trace:
1. Whoops\Exception\ErrorException->() /var/www/html/admin/modules/backup/Json/json_encode.php:5
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 85712100 bytes) in /var/www/html/admin/modules/backup/Json/json_encode.php on line 5

did a full module update and problem remains.
also tried to increase my php.ini memory but I’m that didn’t help .
Any help / insight is much appreciated.

Thank you !

Hi @ncaridi

This looks more like system configuration issue. Your system may have less RAM which is causing the issue.
I suggest to increase the system RAM and test or use bulk handler to export and import your rate patterns.

Thank you for the reply , much appreciated.

free says I have total of 13G available.
If I remove the callaccounting module backup goes well.
message says it’s trying to allocate 85712100 bytes -> 87mb .
How do I Increase the allowed memory size ?

Upgrade your backup module to edge and run the backup again:

fwconsole ma upgrade backup --edge

if the problem persists, please open a ticket at https://issues.freepbx.org/

Thanks I tried the above, no change.
I’ll open a ticket . worse case I’ll backup without the call accounting module (?) , is that the cdr?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.