WordPress.org

Ready to get started?Download WordPress

Forums

All-in-One Event Calendar
[resolved] Multi-day events have memory leak (4 posts)

  1. ry4nallen
    Member
    Posted 2 years ago #

    There appears to be a problem with the most recent version of the plugin in regards to a memory leak in the application.

    To replicate: create an all-day event and assign it to repeat Every Monday. I also fill out the location and disable comments.

    [02-Aug-2012 15:56:42 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 523800 bytes) in /mnt/target02/xxxx/dev.xyz.com/web/content/wp-content/plugins/all-in-one-event-calendar/lib/helpers/SG_iCal_Freq.php on line 492

    Using FF 14.0.1 on Windows 7.

    Any ideas around this?

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

  2. ry4nallen
    Member
    Posted 2 years ago #

    I found a temporary work-around. If you choose "Repeat every 7 days" instead of choosing "Repeat every Monday" from the monthly menu it will work.

    But the bug STILL exists, though.

  3. ry4nallen
    Member
    Posted 2 years ago #

    I looked at your wp_ai1ec_event_instances table and I'm guessing that's your problem.

    You guys should have a simple flag that the calendar display draws from, not a table that has a single event repeated until 2021. That's an extreme amount of overhead. I have 4 events that repeat on different days and there's over 3,000 records in the table.

  4. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    @ry4nallen - thanks
    I will look to see what the problem is. Try to select a different recurrence pattern, usually that solves the problem.
    wp_ai1ec_event_instances table - holds all occurrences of events but it shouldn't cause any problems. Try to limit your events to repeat until 2 years in the feature to get less entries.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.