Title: error when logging in
Last modified: August 22, 2016

---

# error when logging in

 *  [ketanco](https://wordpress.org/support/users/ketanco/)
 * (@ketanco)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-when-logging-in-3/)
 * Hello,
    I tried to login to my wordpress site, with my old password and i get
   the following error:
 * Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate
   5867257 bytes) in /home/content/21/6601321/html/MYSITENAME.com/wp-includes/wp-
   db.php on line 1033
 * why is this happening? what is this? how can i fix?
 * it only happens when i type my old passwords or something very similar to them.
   doesnt happen if i try something else random. i am also able to login with my
   new correct password
 * also do i need to clean up somewhere in my mysql db? it says exhausted…

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [WebPrezence](https://wordpress.org/support/users/webprezence/)
 * (@webprezence)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-when-logging-in-3/#post-5313336)
 * Put this line in your wp-config.php:
 * `define("WP_MEMORY_LIMIT", 128);`
 * And ask your host to increase your max_input_vars in your php.ini file from 1000(
   standard) to like 5000 or at least 3000.
 * Why would you try to use an old password, anyway?
 *  Thread Starter [ketanco](https://wordpress.org/support/users/ketanco/)
 * (@ketanco)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/error-when-logging-in-3/#post-5313380)
 * what does this do:
 * define(“WP_MEMORY_LIMIT”, 128);
 * and why do i ask them to increase size?
 * and in my database is somewhere full of unnecessary data and do i need to clean
   up somewhere?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘error when logging in’ is closed to new replies.

## Tags

 * [login](https://wordpress.org/support/topic-tag/login/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [ketanco](https://wordpress.org/support/users/ketanco/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/error-when-logging-in-3/#post-5313380)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
