Title: [Plugin: WP-DBManager] PHP fatal error &#8211; memory size exhausted
Last modified: August 20, 2016

---

# [Plugin: WP-DBManager] PHP fatal error – memory size exhausted

 *  Resolved [Soccerwidow](https://wordpress.org/support/users/soccerwidow/)
 * (@soccerwidow)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-dbmanager-php-fatal-error-memory-size-exhausted/)
 * The plugin is working fine, but it is not emailing the DB backup to my set email.
 * Checking why, I found a ‘fatal error’ in my logs:
 * Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate
   22848477 bytes) in /home/user/domain.com/wp-content/plugins/wp-dbmanager/database-
   manage.php on line 86
 * **Line 86:** $file_data = chunk_split(base64_encode($file_data));
 * Is there anything in the settings I need to change?
 * Thank you for your help.
 * [http://wordpress.org/extend/plugins/wp-dbmanager/](http://wordpress.org/extend/plugins/wp-dbmanager/)

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

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-dbmanager-php-fatal-error-memory-size-exhausted/#post-2911780)
 * [http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP](http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP)
 *  Thread Starter [Soccerwidow](https://wordpress.org/support/users/soccerwidow/)
 * (@soccerwidow)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-dbmanager-php-fatal-error-memory-size-exhausted/#post-2911790)
 * Thanks, I increased the PHP Memory to 64MB as described in the codex.
 * The error message is gone now, but WP-DNManager still does not send the backup
   file as an email.
 * Manage Backup Database –> Select –> Email
 * Returns empty dashboard screen
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-dbmanager-php-fatal-error-memory-size-exhausted/#post-2911810)
 * I would recommend 128 or 256mb, also do a stopwatch to time if it takes more 
   than 30s to execute the script.
 *  Thread Starter [Soccerwidow](https://wordpress.org/support/users/soccerwidow/)
 * (@soccerwidow)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-dbmanager-php-fatal-error-memory-size-exhausted/#post-2911812)
 * Hi Lester,
    I changed to 256mb and my loading time of the website sped up incredibility
   which is great. I didn’t know this little tweak.
 * Unfortunately I still get the error:
 * Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate
   22781371 bytes) in /home/user/domain.com/wp-content/plugins/wp-dbmanager/database-
   manage.php on line 86
 * 3 to 4 sec to display the error message
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-dbmanager-php-fatal-error-memory-size-exhausted/#post-2911819)
 * Wow looks like your site is using a lot of plugins? Try 512?
 *  Thread Starter [Soccerwidow](https://wordpress.org/support/users/soccerwidow/)
 * (@soccerwidow)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-dbmanager-php-fatal-error-memory-size-exhausted/#post-2911820)
 * Thanks for your replies. Unfortunately, it still doesn’t work..
 * May it be something else?
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-wp-dbmanager-php-fatal-error-memory-size-exhausted/#post-2911824)
 * Could you try disable all plugins except WP-DBManager to see if it works? Because
   it is unlikely your site takes up so much memory
 *  Thread Starter [Soccerwidow](https://wordpress.org/support/users/soccerwidow/)
 * (@soccerwidow)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-dbmanager-php-fatal-error-memory-size-exhausted/#post-2911910)
 * I found the culprit:
 * The settings need to be set to file being zipped. Otherwise it’s possibly too
   large for emailing.
 * Thanks for this great plugin and prompt support:)

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

The topic ‘[Plugin: WP-DBManager] PHP fatal error – memory size exhausted’ is closed
to new replies.

 * ![](https://ps.w.org/wp-dbmanager/assets/icon.svg?rev=977538)
 * [WP-DBManager](https://wordpress.org/plugins/wp-dbmanager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-dbmanager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-dbmanager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-dbmanager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-dbmanager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-dbmanager/reviews/)

## Tags

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

 * 8 replies
 * 2 participants
 * Last reply from: [Soccerwidow](https://wordpress.org/support/users/soccerwidow/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-dbmanager-php-fatal-error-memory-size-exhausted/#post-2911910)
 * Status: resolved