Email-reports: Out of memory

reporting (automatic archiving) is 100% working for us, and working with the web reports is mostly fine, except these yearly/monthly ones which seem to timeout quite a bit -at least a few of them.

the email reporting is still causing problems, I’ve just had to reduce the items in the reports until it works.

Fellmer, I just have a scheduled hourly job setup calling a batch script with:

“C:\Program Files\PHP\php.exe” “E:\piwik\misc\cron\archive.php” > “E:\piwik\misc\cron\LastArchiveLog.txt” --url=[URL of PIWIK installation]

The --url= should be after the archive.php call I think?

perhaps -this way (above) was the only way I actually received output into the log file -and if the log file is populating, then the archiving is surely working correctly?

Hi

since the lasted update I HAVE SOME PROBLEMS TOO with the out of memory to load or to send rapport for some website:*

Fatal error: Out of memory (allocated 27525120) (tried to allocate 7 bytes) in /homepages/25/d140542903/htdocs/statis/core/DataTable/Manager.php on line
host is 1and1.fr
php.ini settings is
post_max_size = 40M
upload_max_filesize = 40M

max_execution_time = 1000
max_input_time = 60
memory_limit = 512M

can you help me to solve that please

Bretweb your memory limit is 27525120 ie. 26Mb - it is too small

but I have set the php.ini to 512M !!!

where I can change this ?

Thank you

Back to the roots:

Tested today
Piwik: 1.7.1
Language: GERMAN
Report: weekly
Reporting options: all enabled (disabled DASHBOARD)

REPORT 0

  1. Sending by email
    work
  2. download
    work

REPORT 1

  1. Sending by email
    dont work > no answer (hangs)
  2. download
    dont work > Internal Server Error 500

Using (same) RAGE instead of WEEK

  1. Sending by email
    work
  2. download
    work

REPORT 2

  1. Sending by email
    dont work > no answer (hangs)
  2. download
    dont work > Fatal error: Out of memory (allocated …
  3. Using (same) RAGE instead of WEEK
    dont work

Using (same) RAGE instead of WEEK and enabling DASHBOARD (!!)

  1. Sending by email
    work
  2. download
    work

It is confusing, but there is something wrong!

for the time being I’ve reduced the items in my reports and they went out fine this morning -the extracted reports were mostly Actions and Referrers

If i reduce the items the pdf reports work. But in the previous Version (1.7.0) all my reports worked fine. I think it is a bug. Does any of the developer know about this?

Please try the patch at: 301 Moved Permanently

does it work betteR?

Hi matt,
thank you for your help. After the patch all my pdf-reports work again.

Created a ticket to make it possible to disable all graphs: Scheduled reports: allow to disable all graphs (some users experience memory errors because of graphs) · Issue #3070 · matomo-org/matomo · GitHub