ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Registering new member leads to out of memory error

July 21, 2011 1:40pm

Subscribe [3]
  • #1 / Jul 21, 2011 1:40pm

    Luke Hardiman

    109 posts

    Hi, I have a site running EE 1.7.0 hosted at EngineHosting. Everything about it runs perfectly but when I try to register a new member I get an out of memory error in the CP:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /www/[enginehosting account]/public_html/[system folder]/core/core.validate.php on line 489

    I’ve tried with extensions disabled and with my .htaccess file blanked out and the error sticks. I’ve taken it up with EngineHosting and they have bounced me to here. They have always been excellent in the past and I find it strange that it is possible to run out of PHP memory by performing such mundane task in the control panel.

    Please help soonest as I need to register a bunch of new content administrators to get the site up and running by the project deadline.

    Of course let me know if you need further info or login details for the site.

    Thanks

  • #2 / Jul 22, 2011 6:11am

    John Henry Donovan

    12339 posts

    Hi Luke,

    Can you tell us what add-ons you are running?

  • #3 / Jul 22, 2011 6:21am

    Luke Hardiman

    109 posts

    Hi John, it turned out it wasn’t related to addons, at least not directly. The problem was the standard 23 meg EE1 dictionary file which the member registration process checks when registering a new member or changing passwords.

    I managed to sort this by looking through the core file throwing the error and finding the call to open the dictionary file, which I then removed from the site preferences.

    Not ideal that a standard process should cause my EH account to run out of memory though (64 meg limit).

  • #4 / Jul 22, 2011 6:34am

    John Henry Donovan

    12339 posts

    Luke,

    There is no standard dictionary file included with a base install of EE1.x not a 23MB one at least 😊
    Was this a file you added yourself?

    Do you have a file name added under Name of Dictionary File

    CP Home ›  Admin ›  System Preferences ›  Security and Session Preferences

  • #5 / Jul 22, 2011 6:39am

    Luke Hardiman

    109 posts

    Oh sorry, 2.38 megs not 23. Pretty sure it’s the standard file - not added by me but by the previous webmaster. The effort required to check every word in the dictionary seems to be what caused the server to run out of memory.

  • #6 / Jul 22, 2011 6:54am

    John Henry Donovan

    12339 posts

    Luke the base install of EE is under 2MB at the moment so likely a file added by your previous webmaster which is fine but as you found out it can be memory intensive.

    You seem to be up and running again though which is what matters. Removing the reference to the dictionary file where I mentioned should have done it for you.

    I’ll close this thread out for you if you wish?

  • #7 / Jul 22, 2011 6:56am

    Luke Hardiman

    109 posts

    Thanks for your help John, yes all is well again, go ahead and close the thread.

  • #8 / Jul 22, 2011 5:19pm

    Brandon Jones

    5500 posts

    Glad you found the culprit, Luke. Thanks.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases