WordPress.org

Ready to get started?Download WordPress

Forums

WP-DBManager
[resolved] PHP fatal error - memory size exhausted (9 posts)

  1. Soccerwidow
    Member
    Posted 1 year ago #

    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/

  2. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

  3. Soccerwidow
    Member
    Posted 1 year ago #

    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

  4. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    I would recommend 128 or 256mb, also do a stopwatch to time if it takes more than 30s to execute the script.

  5. Soccerwidow
    Member
    Posted 1 year ago #

    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

  6. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    Wow looks like your site is using a lot of plugins? Try 512?

  7. Soccerwidow
    Member
    Posted 1 year ago #

    Thanks for your replies. Unfortunately, it still doesn't work..

    May it be something else?

  8. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    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

  9. Soccerwidow
    Member
    Posted 1 year ago #

    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:)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic