Memory Error – Calendar View Times Out

Home Forums Calendar Products Events Calendar PRO Memory Error – Calendar View Times Out

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #169371
    jeisdorfer
    Participant

    Hi,

    The plugin is currently unusable to us, as any attempt to visit the calendar page just times out. It maxes out a whole CPU core (the latest Xeon) and attempts to use almost 1 GB of RAM. The error log shows things like:

    [21-May-2014 17:51:03 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 8368 bytes) in /home/xxxxxx/public_html/wp-content/plugins/the-events-calendar/public/template-tags/general.php on line 85

    PHP is allocated 256 MB, which should be enough for any plugin. It’s a beefy server with no other client accounts on it at the moment. This plugin is a critical part of the site…any ideas?

    #169372
    jeisdorfer
    Participant

    BTW, we’ve tried it with PHP 5.3, 5.4 and 5.5…same results.

    #170844
    Barry
    Member

    Hi – I’m sorry you’re facing difficulties here.

    Can you give an indication of how many events you have, what proportion (if any) are recurring events and if this server is currently under load? (If so, how many visitors approximately does it receive when you hit this problem?)

    I see you already tried deactivating all other plugins and switching to a default, unmodified theme – was the same problem apparent under those conditions?

    Thanks!

    #170873
    jeisdorfer
    Participant

    Hi,

    There are only a couple dozen events, mostly individual. Server load is next to none, as this is a development site with no traffic at all. It’s on a new server that will be used for shared hosting but doesn’t have any other sites on it yet.

    I’ll double-check the themes and plugins but the problem seems to happen under just about any conditions so far.

    Thanks.

    #171875
    Barry
    Member

    OK – please do check as if you have only a handful of events this would be surprising behaviour to say the least.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Memory Error – Calendar View Times Out’ is closed to new replies.