Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi Pietro, long time no see!

    That particular error isn’t necessarily related to WPP. From the sound of it, it seems that PHP ran out of memory while WordPress was executing a database query.

    To prevent this from happening again, do either of the following:

    • Review your plugins, and get rid of those you don’t really use anymore. The lighter your WordPress setup is, the faster your site will run and the less resources it’ll use.
    • Increase the memory allocated to PHP by doing any of the following:
    • If you have access to your php.ini file, set memory_limit to 32M or 64M (eg. memory_limit = 64M;).
    • Add this to your site’s .htaccess file: php_value memory_limit 64M.
    • Add this to your wp-config.php file: define('WP_MEMORY_LIMIT', '64M');.
    Thread Starter pietro.montagna

    (@pietromontagna)

    Hi Hector,
    Thanks for your advice
    I’ll do it, in the next hours.
    One questione again:
    In your opinion and experience, why is this the first time that I have this issue?
    Thanks.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Well, when it comes to WordPress the reason is usually the same: too many plugins running at the same time.

    WordPress itself (that is, no plugins installed / enabled) is quite efficient and should run perfectly under most circumstances. Problems usually arise when people install a lot of plugins without taking in consideration the limits of the server where their site is hosted.

    It could also happen that a single plugin is hogging your site’s resources. A poorly coded theme could also cause these issues, although it’s very unlikely IMO.

    This is why my first recommendation was:

    Review your plugins, and get rid of those you don’t really use anymore

    Thread Starter pietro.montagna

    (@pietromontagna)

    Ok Hector,
    Very clear opinion.
    A lot of strange, Be cause from more 6 months I didn’t add any plugins.
    Thanks for advices and Good morning from Italy (1:00 a.m.)
    Ciao bello
    ??
    Pietro

    Thread Starter pietro.montagna

    (@pietromontagna)

    Hi Hector,
    I have another doubt….in automotivespace.eu, with your plugin, I haven’t the same issue; in other words works fine.

    In your opinion that is possible?

    Thanks

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hey Pietro!

    Yes, it’s perfectly possible. Both of your sites are slightly differently from each other (number of visitors, active plugins, number of db records, etc).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error: Allowed memory size’ is closed to new replies.