Support » Fixing WordPress » Fatal Error: Allowed memory size…exhausted. Increase memory limit fix tried.

  • Dhoozy

    (@dhoozy)


    Hi WordPress Forums

    I know this is a common error, but I have followed all the suggested fixes and nothing has worked.

    When we go directly to the URL this is the error we receive:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /var/www/vhosts/berwicksc.vic.edu.au/subdomains/staging/httpdocs/wp-content/plugins/google-calendar-events/widget/gce-widget.php on line 173

    When we go to the admin dashboard this is the error what we receive:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /var/www/vhosts/berwicksc.vic.edu.au/subdomains/staging/httpdocs/wp-content/themes/Classy/admin/theme-admin.php on line 1026

    Is there anything else I could/should do other than the increase memory increase the memory limit fix (e.g. define(‘WP_MEMORY_LIMIT’, ’64M’);) ??

    Thanks in advance and sorry if this has been very clearly addressed elsewhere.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Mark Ratledge

    (@songdogtech)

    Forum Moderator

    Ask the administrators of berwicksc.vic.edu.au to increase your memory allocation.

    Rachel Baker

    (@rachelbaker)

    If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:

    memory_limit = 64M ;

    If you don’t have access to PHP.ini try adding this to an .htaccess file:

    php_value memory_limit 64M

    Or contact your web hosting company

    When I put “php_value memory_limit 64M” at the .htaccess I get a Internal Server Error. At the log is written

    Invalid command ‘php_value’, perhaps misspelled or defined by a module not included in the server configuration

    I’ve just installed Cpanel at this server. Is there anything I have to configure to make this wordpress tweak work?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error: Allowed memory size…exhausted. Increase memory limit fix tried.’ is closed to new replies.