Fatal error in memory

Hello,

I just updated my Piwik to the latest version and I get this everytime I go to visitors and select any data (e.g: Data from this month).

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8208 bytes) in /var/sites/xxx/public_html/core/DataTable.php on line 1145

How can i fix it?

Thanks!

See How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo

“Increase php memory limit”

[quote=matt]
See How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo

“Increase php memory limit”[/quote]

That’s probably also a memory access violation (segfault) and not a problem with the php memory limit.

Hi,

i get the same error if i use the Piwik 2 Verison.

PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 523800 bytes)

php.ini:
memory_limit = 1024M

I get this error if i activate Piwik in the http conf. At this Moment i can not use the Piwik system.

Has anyone an idea how I can fix the problem?

Thanks
Bastian

Hi Bastian,

This is really a critical issue and needs to be fixed by the upstream PiWik developers…

I hope they’ll fix it so soon as possible…

Hello, this is no critical issue but that Piwik requires more memory than available. Please consider increasing memory limits in your php config

Thank you.

I’d like to update this ticket: My hosting has fixed this issue for me by increasing the memory limit.

Hi,
my memory limit is 1024M. I think this is high enough or? What can i do to fix this?
The old Version of Piwik ran without problems with 128M memory limit.

Thanks
Bastian

bastCOM were you running the archiver with 1.12 and it was OK ? how long have you been using piwik, how many websites and pages per month approx? 1G limit is normal to archive longer periods (eg. weeks/months) for medium sites.

Hi Matt,

the Piwik not ran long 2 weeks for 3 websites 300 visitors per day. Version 2 I have reinstalled. Runs about 5 minutes then everything crashes with 1GB memory.

Thanks
Bastian

[quote=bastCOM]
Hi Matt,

the Piwik not ran long 2 weeks for 3 websites 300 visitors per day. Version 2 I have reinstalled. Runs about 5 minutes then everything crashes with 1GB memory.

Thanks
Bastian[/quote]
As I have already said, this isn’t real memory usage. I have tested it on many different linux systems. Piwik causes an access violation (segfault / memory) and PHP apps will be crashing.

@matt

This is really a critical issue, because other PHP applications on the same server (like joomla) could also crash.

Fedora 20: Clean new Piwik 2.0.1 installation:

[Thu Dec 19 14:41:22.162268 2013] [core:notice] [pid 1380] AH00052: child pid 1396 exit signal Segmentation fault (11)
[Thu Dec 19 14:41:22.162507 2013] [core:notice] [pid 1380] AH00052: child pid 1409 exit signal Segmentation fault (11)
[Thu Dec 19 14:41:29.175585 2013] [core:notice] [pid 1380] AH00052: child pid 1406 exit signal Segmentation fault (11)
[Thu Dec 19 14:41:33.182794 2013] [core:notice] [pid 1380] AH00052: child pid 1408 exit signal Segmentation fault (11)
[Thu Dec 19 14:41:36.187041 2013] [core:notice] [pid 1380] AH00052: child pid 1383 exit signal Segmentation fault (11)
[Thu Dec 19 14:41:36.187188 2013] [core:notice] [pid 1380] AH00052: child pid 1385 exit signal Segmentation fault (11)
[Thu Dec 19 14:41:37.198245 2013] [core:notice] [pid 1380] AH00052: child pid 1381 exit signal Segmentation fault (11)
[Thu Dec 19 14:41:38.218205 2013] [core:notice] [pid 1380] AH00052: child pid 1384 exit signal Segmentation fault (11)
[Thu Dec 19 14:41:38.218354 2013] [core:notice] [pid 1380] AH00052: child pid 1391 exit signal Segmentation fault (11)

please fix it…

unfortunately we cannot reproduce the issue. Can you upgrade php to latest ?

See post might be same solutionif applicable

http://forum.piwik.org/read.php?2,108409,page=1#msg-108690