Open azpery opened 8 years ago
Can you explain a bit more how you solved this problem? I think I have the same issue wuth my nextcloud.
Hi, To solve this problem, I had to avoid retrieving all the calendars using the method findCalendar(). I found out this bug occurs when your calendar are heavy. So you will need to the right calendar id to the client. Tell me if you have any more problem, I might ne able to provide you code samples.
Thx allot this solved my issue.
@azpery @aHVzY2g
Hi, can any of you guys show me a code snippet which shows how to address a calendar without using findCalendar().
thanks in advance.
best regards Carlos
Hi wvrzel, I'm facing a speed problem with this simpleCalDav. When the calendar is to bulky, I'm not able to retrieve all my events (memory problem). Or if it does (by overriding the default memory limit), it takes about 30 secondes to get all my events. I noticed that even if I try to get events within to 2 days, it also takes a lot of time to get my events. It may be a CalDav problem. Here is the error i get :
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /CalDav/CalDAVClient.php on line 253
Edit: I succeeded finding the source of that speed problem. When the function DoRequest from CalDavClient.php is called. This problem occurs when i call findCalendars() from simpleCalDavClient.php
Thanks