• Resolved ellenderidder

    (@ellenderidder)


    Since a few days I get the following fatal error:
    Failed to reset cache for the instance #92: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 10485760 bytes) in /var/www/vhosts/simtasia.shop/httpdocs/webshop/wp-content/plugins/translatepress-multilingual/includes/gettext/class-gettext-manager.php on line 64

    My memory is already set to 512MB. Why does this plugin needs so much memory? Is there any setting I can adjust to fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Dragos

    (@dragosvrejiu)

    Hello,

    Since this looks a lot like a conflict with some other code, the first/next recommended step is the conflict test (ideally in a staging environment):

    ??*Briefly* disable all other plugins and enable the default Twenty Twenty theme. Please also disable all add-ons. If this fixes the problem, enable everything one by one, checking each time to see when the problem returns.

    Please let us know when you find the conflict so that we can take a look and see what we can do about it.

    Best regards,

    Thread Starter ellenderidder

    (@ellenderidder)

    Unfortunately I was not able to discover if there was a conflict with another plugin. I was able to resolve the issue nevertheless by de-installing the plugin, removing all the tables (as you describe in https://translatepress.com/docs/developers/delete-all-translations-and-plugin-data/ ) and then re-installing and starting over with translating my site.
    The memory error has not occurred since.

    I do notice however that many rows are being created in trp_dictionary_nl_nl_en_gb and in trp_original_string. Also for strings (and pictures) that I never want to translate, is there anyway to stop this from happening? I am not using automatic translation, I just need to translate a few strings on my site. I now seems that all strings on my site are in these tables, making them very large.

    • This reply was modified 1 year, 11 months ago by ellenderidder.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal error; Allowed memory size exhausted’ is closed to new replies.