PHP FATAL ERROR - check your servers

Today I transferred the whole installation of MATOMO to a new clean air force and after several hours of unstable operation I got the same error as on another server

/usr/bin/php /var/www/mysite.com/web/console core:archive --url=http://mysite.com/
PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 4096 bytes) in /var/www/mysite.com/web/vendor/composer/autoload_static.php on line 250

This is manifested in an indirect way - there are visits and they can be seen, but at some point the count of visits stops increasing, and when this happens once the generation in the crone completely stops

Hi,

2097152 bytes are around 2 Megabytes which is a bit small for a limit considering that computers have many gigabyte of RAM nowadays. So I’d recommend you to increase this maximum.

Good afternoon.
I do not have such numbers as 2 megabytes in the server configuration :slight_smile:
What php parameter is probably responsible for this?
On a 8 gigabyte memory server

Hi,

This is limited by the memory_limit setting in php.ini

memory_limit - 256M