Skip to content


Wrong Memory value #1136

dugwood opened this Issue · 3 comments

3 participants


In the 2nd page of installation, I can read:
Limite mmoire 5242880M
(memory limit)

My php.ini is as follow:
memory_limit = 52428800

It's another way to fill the data, by specifing bytes only. So the formula isn't working here.

Page was: /piwik/index.php?action=systemCheck
Keywords: memory


(In [1820]) fixes #1136 - get memory limit expects setting in megabytes


if(substr($memory, -1) == 'K') <====== shouldn't it be k not K? Or the use of strtolower() on the value? Perhaps a switch() statement would be better here (even if performance on this script isn't really an issue).

Thanks for fixing the bug.

Piwik Open Source Analytics member

see [1821]

@dugwood dugwood added this to the Piwik 0.5.5 milestone
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.