Answers.Body: <p>I'd initially forgotten to turn on devMode to find out what the 500 error was. Once I did that I found out it was exhausting the memory. I had to raise it up to 1024M!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-09T04:41:04.647Z
Answers.Text: That's ridiculously high to just log in.  Do you have any plugins installed that might be interfering?  Particularly anything listening to onLogin events or ones that add widgets to the dashboard?
Answers.UserDisplayName: Brad Bell
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-10T12:35:05.540Z
Answers.Text: Yeah, I thought so too. Not many plugins and none of them deal with onLogin events. Though it seems it was freezing after logging in, when loading the posts. I'm still investigating the source of this in this other post, http://craftcms.stackexchange.com/questions/19852/php-memory-limit-is-1024-mb-too-much , my server seems to be going through some peaks. I'm afraid it's due to how I've setup the cache.
Answers.UserDisplayName: cballenar
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-04-08T14:04:31.000Z
Answers.LastActivityDate: 2017-04-08T14:04:31.000Z
Answers.UserDisplayName: cballenar
Body: <p>I updated a very old Craft installation (v2.6.2794 to v2.6.2971) and now I'm locked out off the admin area. I can get to the login panel and log in but once in I just get 500 errors.</p>
  
  <p>After turning on devMode, I found this:</p>
  
  <pre><code>Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 72 bytes) in /mysite.com/craft/app/helpers/ModelHelper.php on line 102
  </code></pre>
  
  <p>I already have my <code>phpMaxMemoryLimit</code> at <code>512M</code> (checked). Could my installation really be using that much memory?</p>
  
Tags: <updates><manual-updates>
Title: Locked out of admin panel after update
ThreadText: # Locked out of admin panel after update
  
  (Asked by: username_0 on 2017-04-08)
  
  I updated a very old Craft installation (v2.6.2794 to v2.6.2971) and now I'm locked out off the admin area. I can get to the login panel and log in but once in I just get 500 errors.
  
  After turning on devMode, I found this:
  
  ```
  Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 72 bytes) in /mysite.com/craft/app/helpers/ModelHelper.php on line 102
  
  ```
  
  I already have my `phpMaxMemoryLimit` at `512M` (checked). Could my installation really be using that much memory?
  
  **Tags:** updates, manual-updates
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-04-08. Score: 1 | Accepted answer
  
  I'd initially forgotten to turn on devMode to find out what the 500 error was. Once I did that I found out it was exhausting the memory. I had to raise it up to 1024M!
  
  > **Comments:**
  > **username_1**: That's ridiculously high to just log in.  Do you have any plugins installed that might be interfering?  Particularly anything listening to onLogin events or ones that add widgets to the dashboard?  
  > **username_0**: Yeah, I thought so too. Not many plugins and none of them deal with onLogin events. Though it seems it was freezing after logging in, when loading the posts. I'm still investigating the source of this in this other post, http://craftcms.stackexchange.com/questions/19852/php-memory-limit-is-1024-mb-too-much , my server seems to be going through some peaks. I'm afraid it's due to how I've setup the cache.  
  
  ---
  
  