Support » Fixing WordPress » Memory size exhausted

  • I got this message : Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 71 bytes) in /nfsmnt/hosting1_1/9/3/93403e1c-978e-4844-af77-c977594d023b/ on line 110

    And I read all about the php and memory increasing but the problem is that I am not the owner or the creator of this site. I am just customising it for my friends…And I don’t want to bother them with this…Is there any way you can help me with it?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff


    Volunteer Moderator

    If you’re seeing this error either suddenly (no specific task was done to cause the error) or frequently, try deactivating all plugins to rule-out a plugin-specific issue and try switching themes to rule-out a theme-specific issue.

    Otherwise, you will need access to the hosting account to boost PHP’s memory allocation.

    Here are three ways to increase PHP’s memory allocation:

    1. If you can edit or override the system php.ini file, increase the memory limit. For example, memory_limit = 128M

    2. If you cannot edit or override the system php.ini file, add php_value memory_limit 128M to your .htaccess file.

    3. If neither of these work, it’s time to ask your hosting provider to temporarily increase PHP’s memory allocation on your account. Keep in mind that most decent hosting providers allocate 64 MB to PHP under each account, and most decent hosting providers allow users to temporarily increase the memory allocation. If your hosting provider won’t accommodate you, perhaps it’s time to find a new hosting provider.

    (in the above examples, the limit is set to 128MB)

    I downloaded first photo gallery plugin on the list and it just crashed… And i can’t access anything since that…

    Moderator James Huff


    Volunteer Moderator

    You’ll need to access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/plugins/ and delete the directory for the gallery plugin.

    This will remove the plugin entirely and allow you to access the site normally.

    After that, I recommend reporting the issue to the plugin’s support.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Memory size exhausted’ is closed to new replies.