Birthday calendar OOM #1461

Open
opened 2026-01-03 14:06:07 +01:00 by nik · 5 comments
Owner

The JavaScript engine in Firefox goes out of memory when loading the birthday calendar for only one week (in TIC-Desk).

The JavaScript engine in Firefox goes out of memory when loading the birthday calendar for only one week (in TIC-Desk).
Member

assigned to @yuha

assigned to @yuha
Member

created branch 1461-birthday-calendar-oom to address this issue

created branch [`1461-birthday-calendar-oom`](/AlekSIS/official/AlekSIS-Core/-/compare/master...1461-birthday-calendar-oom) to address this issue
Member

mentioned in merge request !3732

mentioned in merge request !3732
Member

@nik I've now been trying to reproduce this with a massive amount of birthday and personal events (200+ per day) – but with no success. The interface gets quite slow at some point, but I've not been able to get the Firefox JS engine to go OOM. Can you estimate how many events you're dealing with on TIC-Desk?

@nik I've now been trying to reproduce this with a massive amount of birthday and personal events (200+ per day) – but with no success. The interface gets quite slow at some point, but I've not been able to get the Firefox JS engine to go OOM. Can you estimate how many events you're dealing with on TIC-Desk?
Member

okay, done some more testing. CPU and memory usage are in fact fairly high with 1000+ events, but it still works - with some lag - on my side. i think you need to show me what exactly is happening there – i'd mainly be curious about whether the calendar fetches the correct birthday data since the amount of birthdays i expect to occur in a week don't seem to be nearly high enough to cause issues like this one. but still, i also can't see any issues in this regard.

okay, done some more testing. CPU and memory usage are in fact fairly high with 1000+ events, but it still works - with some lag - on my side. i think you need to show me what exactly is happening there – i'd mainly be curious about whether the calendar fetches the correct birthday data since the amount of birthdays i expect to occur in a week don't seem to be nearly high enough to cause issues like this one. but still, i also can't see any issues in this regard.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-Core#1461
No description provided.