Home Unanswered Active Tags New Question

Calendar generates OutOfMemoryException

Hi Dan,

If first day of weekly recurrence is Sunday, then 'System.OutOfMemoryException' was thrown. Please find a simple project attached.

Also if I replaced code

RecurrenceRule rule = RecurrenceRule.FromDateTime("1", start).Weekly().Until(start.AddYears(1));

with

RecurrenceRule rule = RecurrenceRule.FromDateTime("1", start).Weekly().Times(5);

then all events are generated in one day

All works fine if first day is Monday, Tuesday, Wednesday etc.

Asked by Pavel Shyrko 8 months ago.
Replies

I'll take a look at it, thanks.

Comment posted by Dan Letecky [DayPilot] 8 months ago.

There was a bug in weekly recurrence code. It has been completely rewritten in 6.4 SP2.

http://www.daypilot.org/daypilot-pro-6-4-sp2.html

It seems that you are using build 6.4.2251 (6.4 SP1). Could you please give it a try with the latest release?

Answer posted by Dan Letecky [DayPilot] 8 months ago.

it works in the 6.5

Answer posted by Pavel Shyrko 8 months ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java