Home Forums Themes Support Gecko Fatal error: Allowed memory size of 268435456 bytes exhausted

Tagged: 

Viewing 7 reply threads
  • Author
    Posts
    • #5463

      Hello.

      Everything was going well but all of a sudden I noticed that I get this message:

      “Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /home/chatzigiannis/public_html/_wg/wp-includes/wp-db.php on line 1841”

      When I try to go to the product page in the backend:

      /wp-admin/edit.php?post_type=product

      I can still add products or make other changes but the Products backend page doesn’t work.

      I have the latest version of WordPress and the theme (1.4.5).  And I’ve increased the memory limits in wp-config.php and via .user.ini file. Nothing seems to work. I was just adding products when I noticed this.

      Thank you in advance.

    • #5464

      Hi Dimitris73,

      Do you hosting your site on WordPress.com? If you hosting your site on WordPress.org you can activate plugin Jetpack to fix issue.

      Could you disable captcha, i try login your site but don’t understand your language so can’t login.

      Regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #5465

      Hi Harry and thanks for the quick response.

      I just disabled captcha. Please try now.

    • #5466

      This site is on a shared VPS, by the way.

    • #5469

      Hi,

      Can you try add the code below to wp-config.php

      // Increase memory limit for hosting limit with low memory
      ini_set( ‘memory_limit’,’256M’ );

      The account you send don’t have permission to edit.

      Best Regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #5474

      I added it but it didn’t work. I had also added

      define(‘WP_MEMORY_LIMIT’, ‘256M’);

      It’s strange because I haven’t had a problem like this on this server before. Could it be some strange configuration? What do we do now?

       

       

    • #5478

      It seems that this happened when I tried to save a product and something “stuck”. It’s probably a database issue. Do you have any idea what I could do?

    • #5480

      Could you try add below code

      define( ‘WP_MAX_MEMORY_LIMIT’ , ‘256M’ );

      I search on google have more people have same issue with you because commerce site need more memory than normal site

      http://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/

      https://stackoverflow.com/questions/21680244/fatal-error-allowed-memory-size-of-268435456-bytes-exhausted-tried-to-allocate

      https://stackoverflow.com/questions/34133238/wordpress-fatal-error-allowed-memory-size-of-268435456-bytes-exhausted-tried-t

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 7 reply threads

You must be logged in to reply to this topic.