Data Whimsy
  • Home
  • What is Matomo
  • Contact
  • Custom Reports
  • Connect Matomo to other software
  • CLI API etc
  • Matomo Tag Manager Simple Guide
  • Lyn Only
  • Troubleshooting + Deploying Matomo
  • Weird Data
  • Why is data in Matomo giving different numbers than Google Analytics
  • The Dashboard
  • Moving the Data
  • Book Club Forum

Error: Memory Exhausted

11/7/2023

0 Comments

 
Typical Error Message:
mmap() failed: [12] Cannot allocate memory
PHP Fatal error:  Out of memory (allocated 94896128) (tried to allocate 35651616 bytes) in /var/www/littlefurnace.com/matomo/vendor/pear/archive_tar/Archive/Tar.php on line 1907

Remedy:
#1
Find where the file is for your PHP settings. The location is variable. PHP language is installed in the same machine where your web server for Matomo is running.  Look up how to run phpinfo(). This pink and blue page will show the location of your PHP settings:

Picture
#2 Now look inside that file. Find the memory setting. Change it to something like memory_limit = 2G

$ head /etc/php/8.2/fpm/php.ini

$ grep memory /etc/php/8.2/fpm/php.ini
$ sudo nano /etc/php/8.2/fpm/php.ini
$ sudo systemctl restart apache2

Picture
0 Comments



Leave a Reply.

    Troubleshooting + Deploying Matomo

    Archives

    December 2024
    July 2024
    April 2024
    March 2024
    February 2024
    November 2023
    October 2023

    Categories

    All

Powered by Create your own unique website with customizable templates.
  • Home
  • What is Matomo
  • Contact
  • Custom Reports
  • Connect Matomo to other software
  • CLI API etc
  • Matomo Tag Manager Simple Guide
  • Lyn Only
  • Troubleshooting + Deploying Matomo
  • Weird Data
  • Why is data in Matomo giving different numbers than Google Analytics
  • The Dashboard
  • Moving the Data
  • Book Club Forum