Ticket #267 (closed Bug report: worksforme)

Opened 15 years ago

Last modified 15 years ago

Memory exhaustion in PHP

Reported by: lbc@… Owned by:
Priority: low Milestone:
Component: None Version:
Keywords: Cc:

Description

This is caused by the EventLogging? class:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 622592 bytes) in /var/www/wifidog/classes/EventLogging.php on line 273

Increasing allowed memory to 16M doesn't help: Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 622592 bytes) in /var/www/wifidog/classes/EventLogging.php on line 464

Even 32M isn't enough: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 622592 bytes) in /var/www/wifidog/classes/EventLogging.php on line 626

Disabling the EventLogging? class completely as a workaround helps, but then the next class comes up:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 622592 bytes) in /var/www/wifidog/classes/Locale.php on line 89

Change History

Changed 15 years ago by benoitg

  • status changed from new to closed
  • resolution set to worksforme

EventLogging? causes extensive problems for many people (including the developers), and is disabled by default.

It's very possible that 16M isn't enough, try 32.

Note: See TracTickets for help on using tickets.