Allowed memory size exhausted
Since a couple of weeks it is not possible to open any of the Matomo Analytics backend pages (not even ?page=matomo-about). After a long wait (which paralyzes the entire installation) there is always the following error on a white page with status code 502:
Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request
Reason: Error reading from remote server
Updating to the latest versions did not change anything. Currently using:
- WordPress 6.3.1
- Matomo Analytics – Ethische Statistiken. Nachhaltige Erkenntnisse. 4.15.0
Enabling
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
does not give any information.
One time WordPress sent a mail to the admin mailbox saying:
Ein Fehler vom Typ E_ERROR wurde in der Zeile 445 der Datei /mnt/web312/c3/99/51444199/htdocs/cms/wp-content/plugins/matomo/classes/WpMatomo/Admin/SystemReport.php verursacht. Fehlermeldung: Allowed memory size of 536870912 bytes exhausted (tried to allocate 266338336 bytes)
memory_limit currently at 512M on a Strato Hosting Starter Package which might be the maximum for this hosting.
How much memory limit does Mataomo Analytics WordPress plugin need?
Thank you very much
Hi @josch87, this doesn't appear to strictly be a memory limit issue, I'm guessing something changed on the hosting provider that caused this (the failure in the email you posted has to do with Matomo trying to run the php command w/ a very simple command). Did you reach out to the hosting provider to see what they had to say?