1. Home
  2. Knowledge Base
  3. Problems and Solutions
  4. Fixing “Fatal error: Allowed memory size . . .”

Fixing “Fatal error: Allowed memory size . . .”

If you are seeing an error that looks like this:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 151 bytes) in /home/yoursite/public_html/wp-content/plugins/pretty-link/app/models/PrliUtils.php on line 230

Then this means that your PHP memory_limit is being exhausted. You have the following options to resolve this:

  1. Disable any unused plugins (which take up space).
  2. Ask your webhost to increase your PHP memory_limit to 256M.
  3. Change your tracking method in Pretty Links Options to “Normal” instead of “Extended”. Note:
    If you switch off of “Extended” tracking, you will lose the ability to do conversion reports/split test reports.
  4. Clear old hits with the Pretty Links -> Options -> Trim Hits feature. Trimming old hits can free up some resources.

Doing any one of those things has the potential to fix this error, but please note numbers one and two may still require you to ask your webhost to increase your PHP memory_limit to 256M.

If you've upped your sites memory_limit and are still getting this error then it is not a Pretty Links issue. You may have too many plugins or an inefficient theme installed.

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support