Title: Cannot access dashboard, memory allocation error
Last modified: August 19, 2016

---

# Cannot access dashboard, memory allocation error

 *  [nascentthinker](https://wordpress.org/support/users/nascentthinker/)
 * (@nascentthinker)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/cannot-access-dashboard-memory-allocation-error/)
 * I came home today to check how many spam comments I’d received (they’ve spiked
   in the last couple of days, I don’t know why), to discover that I can’t access
   my Dashboard; every time I do I get the following error:
 * “Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate
   30720 bytes) in /home/ … /public_html/ … /includes/media.php on line 1512”
 * I have no idea what to do, help is appreciated. If this has to do with uploads
   to my site, aside from a picture or two, I don’t have anything else.
 * Thanks.

Viewing 1 replies (of 1 total)

 *  [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * (@shane-g-1)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/cannot-access-dashboard-memory-allocation-error/#post-1449653)
 * Hi,
 * Check with these options:
 * 1) Either rename/remove Plugins folder via FTP or disables all the Plugins from
   database.
 * 2. If you have an access of PHP.ini file of the account/server then change the
   line in PHP.ini where line shows 32M to 64M:
    memory_limit = 64M; Maximum amount
   of memory a script may consume (64MB)
 * 3. If you do not have access of PHP.ini file then add this to an .htaccess file
   of your domain:
    php_value memory_limit 64M 4. Try to add this line to your wp-
   config.php file to increase allocated memory to PHP: define(‘WP_MEMORY_LIMIT’,‘
   64M’);
 * If all this option can not resolve the issue then you need to contact your hosting
   service provider to resolve this issue.
 * Thanks,
 * Shane G.

Viewing 1 replies (of 1 total)

The topic ‘Cannot access dashboard, memory allocation error’ is closed to new replies.

## Tags

 * [dashboard](https://wordpress.org/support/topic-tag/dashboard/)
 * [memory allocation](https://wordpress.org/support/topic-tag/memory-allocation/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/cannot-access-dashboard-memory-allocation-error/#post-1449653)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
