Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16 bytes) in /usr/share/zoneminder/zm_db.php on line 104
memory_limit = 32M, but with higher memory_limit = 128M in php.ini a similar error accours.
There are >7200 events for this cam in my database. Is this the cause for the error?
Fatal error: Allowed memory size of 33554432
- biologisch
- Posts: 96
- Joined: Fri Aug 24, 2007 10:37 am
Fatal error: Allowed memory size of 33554432
ZM Versions = 1.36.33
zmeventnotification Version = "6.1.28"
zmeventnotification Version = "6.1.28"
Mine resolved itself - not sure why, as I had increased the php memory_limit value and reloaded everything many times to no avail. Then it suddenly started working. See here for the whole story. This is what my php.ini file ended up looking like:
Try increasing the memory limit, restarting a ton and seeing if that changes anything. It's been solid for me since changing it, but it seemed to take a few minutes to 'take'. I reloaded apache, zm, mysql, everything i could think of, restarted 3 times...then a 3 hours later it came back to life.
Code: Select all
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit = 512M ; Maximum amount of memory a script may consume (16MB)