Fatal Error


(joey001) #1

Since update to 0.4/0.4.1 I get following error during auto-archiving:

PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /srv/www/vhosts/xyz.yy/httpdocs/piwik/core/DataTable.php on line 958

Greeting,
Joe


(maze) #2

Look at How to setup auto archiving style_emoticons/<#EMO_DIR#>/wink.gif


(joey001) #3

Did all of that already weeks ago…

I now set the memory usage to 512MB. Now it works.
But that memory usage is not normal any more. And what should I do in 4 weeks, when the error appears again? Set the memory usage to 1 Gig, 2 Gig, 4Gig???
:wink:

Greetings,
Joe


(vipsoft) #4

joey001: we are pursuing workarounds to the problem. At the root, there are a number of memory leaks in PHP, and some versions may be worse than others. My understanding is that the PHP developers have largely opted to defer this to either garbage collection or when memory is released when the script terminates – neither of which is suitable for some of the tasks performed by Piwik.

We are tracking this in ticket 766, http://dev.piwik.org/trac/ticket/766