Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

archive.sh memory issue with yearly reports, works when archiving months separately #1540

Closed
anonymous-piwik-user opened this Issue · 6 comments

2 participants

@anonymous-piwik-user

line 75 in archive.sh (from piwik 0.8) reads

for period in day week year; do

but probably should read

for period in day week month year; do

@mattab
Owner

year processes months

@anonymous-piwik-user

well, in my case, it didn't.

first of all, before i added "month" to the for loop, my monthy reports would run into a "maximum memory size exceeded" error, after adding it and running archive.sh again this error disappeared.

secondly, attached are two outputs of archive.sh, one with "month" added an one without, there is a significant difference in the two outputs.

@anonymous-piwik-user

Attachment: archive.sh output with month added
archive.sh.output-month

@anonymous-piwik-user

Attachment: archive.sh output without month (from distribution .zip)
archive.sh.output-nomonth

@mattab
Owner

interesting that it helped to run monthly archives first. It actually makes sense. However, I confirm that in a normal use case this is not necessary.

@mattab
Owner

(In [2837]) Fixes #1540
Thanks for the tip gereon_s

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.