Viewing 4 replies - 1 through 4 (of 4 total)
  • I have the same problem! My hosting support has even sent me notification regarding this. Their message is attached below.

    Oct 24 03:36:18 slmp-550-13 suhosin[271265]: ALERT – script tried to increase memory_limit to 268435456 bytes which is above the allowed value (attacker ‘65.254.216.68’, file ‘/home/*****/*****/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php’, line 11)

    The plugin may need to be disabled if there are no optimization settings that can be enabled for it. You may want to contact the developer of this plugin for more information.

    My guess is that it’s used when processing large iCal feeds. But I could be wrong. I recommend lowering the limit by editing all-in-one-event-calendar.php and see what happens.

    Maybe this should be configurable in the plugin settings to make the changes persist between versions and also to make it more visible.

    I tried to configure the memory limit parameter in Line 11 from 256M to 32M.

    @ini_set( “memory_limit”, “256M” );

    But it showed the following error when activated.

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 278294 bytes) in /home/****/****/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 144

    Line 144 is shown below

    require_once( AI1EC_LIB_PATH . ‘/iCalcreator.class.php’ );

    Parsing ical feeds is taking a lot of resources.
    We are using @ini_set( “memory_limit”, “256M” ); to increase the memory limit.
    The ‘@’ character is simply telling php to not output any warning if that line fails. The logs that you are seeing are just notifications. You can ignore them or the other way around is to lower the memory_limit to a value that works for your server. If the value is too low, parsing of ical feeds may not be possible.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: All-in-One Event Calendar] Why do you need 256mb of ram?’ is closed to new replies.