New Landing How can we help? Themeforest Theme Support Neighborhood Fatal error: Allowed memory size

Viewing 4 posts - 1 through 4 (of 4 total)
  • #302933
    vickwinata
    Member
    Post count: 1

    Hi,

    I’m trying to import wordpress demo content with alt.xml

    When I try to upload, I receive this error:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1688948 bytes) in /home/skydeptc/public_html/wp-content/plugins/wordpress-importer/parsers.php on line 66

    I tried to search it up add find that I need to edit wp-config.php and add the following

    define( 'WP_MAX_MEMORY_LIMIT', '256M' );

    I tried to edit wp-config.php like this:

    /**
     * For developers: WordPress debugging mode.
     *
     * Change this to true to enable the display of notices during development.
     * It is strongly recommended that plugin and theme developers use WP_DEBUG
     * in their development environments.
     *
     * For information on other constants that can be used for debugging,
     * visit the Codex.
     *
     * @link https://codex.wordpress.org/Debugging_in_WordPress
     */
    define('WP_DEBUG', false);
    
    define( 'WP_MAX_MEMORY_LIMIT', '256M' );

    but it still doesn’t work. Can anyone help me where I’m missing?

    #302937
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Check with your hosting if they have any limit in the memory of that server.

    Also some plugins can be consuming too much memory try to disable some plugins to check if that still happens until finding the problematic plugin.

    -Rui

    #302944
    vickwinata
    Member
    Post count: 1

    Thanks for the reply.

    I checked with the hosting that they only allow php memory of 64mb. Is this not sufficient?

    #302948
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Sometimes it’s not enough depending on the plugins installed.

    -Rui

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register