Allowed memory size exhausted



  • Hi,
    when I deleted some expired DHCP leases today this error occured:

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 36 bytes) in /usr/local/www/services_dhcp.php on line 85 
    

    I disabled the DHCP server and now every time I want to enable the DHCP server on the bridge interface like it was before that error I get that message and the dhcpd stops.

    I'm running 2.2-RC (i386) built on Mon Dec 22 10:10:37 CST 2014

    BTW the line in question is

    $newleases_contents = array_merge($newleases_contents, $templease);
    

    [EDIT] Also the DHCP server does not start at all. When I go to Status:services and start dhcpd, it says that it's startet, but when I check again it is already stoped



  • I loaded a backup, but that didn't help.

    Also, when I go to Services -> DHCP Relay I get this

    Fatal error: Call-time pass-by-reference has been removed in /usr/local/www/services_dhcp_relay.php on line 74 
    


  • Ok, I just reinstall the whole system. Those```
    Fatal error: Call-time pass-by-reference has been removed in [...]


Log in to reply