search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Calendar generates OutOfMemoryException

Asked by Pavel Shyrko
8 years ago.

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));


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.

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

I'll take a look at it, thanks.

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

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

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 Pavel Shyrko
8 years ago.

it works in the 6.5

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.