• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Allowed memory size error on register

bcercan

Active member
#1
Hello,

When someone try to register he gets this error:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 3097270 bytes) in /home/xxxxx/public_html/forum/library/XenForo/Model/DataRegistry.php on line 155

What's wrong?
 

Mr. Goodie2Shoes

Well-known member
#4
XenForo preloads some data to its registry so a higher memory limit is recommended. But it seems to me an issue with PHP. This once happened to when I enabled APC from my PHP config page in cPanel. You should contact your host about it...
 

bcercan

Active member
#5
XenForo preloads some data to its registry so a higher memory limit is recommended. But it seems to me an issue with PHP. This once happened to when I enabled APC from my PHP config page in cPanel. You should contact your host about it...
I see, my forum is on a dedicated, what am I supposed to do?
 

Mike

XenForo developer
Staff member
#7
You can increase your memory_limit via php.ini (128M is the PHP default).

Does this still happen with add-ons disabled? This is trying to pull a 3 MB record out of the registry. There are 2 registration related values this could be -- the DNSBL cache or the banned email cache. We did have a report of the former triggering an error but that's the only time. (It's cleared out each time). It's possible an add-on could be using a lot of data.