When visiting the patterns tab of pathauto, patterns don't show and a memory error is triggered.

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 137255413 bytes)

My php memory limit is set to 512MB (which should be more than enough). I have read to turn off Entity Tokens module. I did that and It fixed the issue.

There is something wrong here. I can't use Rules module now because of this issue with pathauto and Entity Tokens...

What is the consensus on this issue. I have seen it over and over again under Issues.


kenorb’s picture

The same issue, 512M is required as minimum, even the whole site never required so much.

gusantor’s picture

same for me, but I can't disable Entity tokens module for testing

PHP memory limit 1024M
Drupal 7.19
Pathauto 7.x-1.2
Entity tokens 7.x-1.0-rc3

Weblights’s picture


dgiamporcaro’s picture

I tried to reproduce the issue with :
Drupal 7.21
Token 7.x-1.5
Entity tokens 7.x-1.0
Pathauto 7.x-1.2

And only 192Mb in PHP configuration.

I'm not able to reproduce it with this configuration.
I advise you to update your modules to latest version.

mariusm’s picture

zatarain21’s picture

Same here, but I think the issue is conflit between Token module and Entity tokens (If desable Entity tokens is a "solution"), maybe they can't see the error. Because this things happens when the site has a lot of nodes, content type and fields the more elements of that you more memory it will be need it.

weddigen’s picture

Issue summary:View changes


is there something new about this issue? I am experiencing the same problem - memory exhausted when selecting path auto patterns tab.
Existing patterns are still working but I cannot change them or add new ones. Disabling Entity Tokens is not a solution, as I need the module in other places.

any solution here?

joedevdrupal’s picture

Try this solution. Also make sure to update core and all modules to the latest recommended versions.

joedevdrupal’s picture

I never understood the invention of "Entity" with D7...

Pere Orga’s picture

Component:Miscellaneous» Code
Category:Support request» Bug report
Pere Orga’s picture

Status:Active» Closed (duplicate)

I think the issue is https://drupal.org/node/1203018