[Tickets #14453] Allowed memory size exhausted

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Aug 24 14:17:02 UTC 2016


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/14453
------------------------------------------------------------------------------
  Ticket           | 14453
  Erstellt Von     | lukas.weiss at raiffeisen.it
  Zusammenfassung  | Allowed memory size exhausted
  Warteschlange    | Kronolith
  Version          | 4.2.17
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 2. Medium
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


lukas.weiss at raiffeisen.it (2016-08-24 14:17) hat geschrieben:

hi,

I got an error saying the allowed memory size of 512 mb was exhausted.
after some debugging I found a user which somehow created an event  
from 0900-02-03 12:00:00 to 2800-02-04 13:00:00 with an alarm.
this prevented horde from being loaded, no matter if Kronolith or  
Trean was opened, because the alarms are loaded every time.

I found the problem is the while-loop at the end of the  
Kronolith::addEvents function ($loopDate), which iterates through  
every day of the event causing the memory failure.

Is it possible to stop the loop at some point to prevent this error?
Thanks





More information about the bugs mailing list