Hosted by

Google Ads



No announcement yet.

Installing or uploading to Wordpress and getting a Memory limit error

  • Filter
  • Time
  • Show
Clear All
new posts

  • Installing or uploading to Wordpress and getting a Memory limit error

    Sometimes when you are installing a new theme to Wordpress or even uploading your edits to Wordpress, there will be times that you get an error that says something like,

    "You do not have enough memory to complete the task"

    or something like that. A solution you can try is to increase the limits in your php.ini or .user.ini file in the public_html directory. Doing this will allow you to overwrite the default memory limits (which can sometimes be 2 MB) to where you need the limits at.

    Keep this is mind when you do this, depending on the amount of resources you are allocated by your hosting company, they could be over used and could cause Internal Server Errors. You should consult with your hosting company before making this change.

    Here are example increased limits you can use:

    memory_limit = 192M
    max_execution_time = 300
    max_input_time = 300
    upload_max_filesize = 100M
    upload_tmp_dir = 128M
    post_max_size = 128M

  • #2
    With newer versions of Wordpress, this seems to be the problem, with several plugins. If I recollect right, WordFence needed a lot of memory(starting 256M or more) to run.
    With memory becoming cheaper, it appears that applications are built, disregarding memory optimizations.
    BountySite: Democratizing Website Security