• Hello,
    I am trying to create variations with product attributes. I get an error:
    CRITICAL Allowed memory size of 4297064448 bytes exhausted (tried to allocate 536870920 bytes) in wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1244

    Everytime i increase the memory same error appears only the amount is bigger than the increased memory.

    Any advice?

Viewing 7 replies - 1 through 7 (of 7 total)
  • AJ a11n

    (@amandasjackson)

    Hi @stefanoid3

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status.
    Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.

    Thread Starter stefanoid3

    (@stefanoid3)

    Thank you for your quick reply. Here it is:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://speedywindows.com
    Site address (URL): https://speedywindows.com
    WC Version: 4.2.0
    REST API Version: ? 1.0.8
    WC Blocks Version: ? 2.5.16
    Action Scheduler Version: ? 3.1.6
    WC Admin Version: ? 1.2.3
    Log Directory Writable: ?
    WP Version: 5.4.1
    WP Multisite: –
    WP Memory Limit: 4 GB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.2.31
    PHP Post Max Size: 64 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.70.0
    OpenSSL/1.1.1g
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.30
    Max Upload Size: 64 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 4.2.0
    WC Database Prefix: wp_
    Total Database Size: 8.99MB
    Database Data Size: 7.36MB
    Database Index Size: 1.63MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_audit_trail: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_eopa_global_rule_table: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_eopa_poptions_table: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_eopa_rowoption_table: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_eopa_temp_table: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_masterslider_options: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    wp_masterslider_sliders: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_options: Data: 1.03MB + Index: 0.06MB + Engine InnoDB
    wp_postmeta: Data: 0.38MB + Index: 0.16MB + Engine InnoDB
    wp_posts: Data: 3.44MB + Index: 0.06MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 68
    custom_css: 1
    customize_changeset: 11
    et_footer_layout: 4
    et_header_layout: 1
    et_pb_layout: 4
    et_template: 5
    et_theme_builder: 2
    nav_menu_item: 4
    page: 21
    post: 3
    product: 7
    product_variation: 50
    revision: 129
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?Error messages should not be shown to visitors.
    
    ### Active Plugins (2) ###
    
    Master Slider Pro: by averta – 3.2.14
    WooCommerce: by Automattic – 4.2.0
    
    ### Inactive Plugins (4) ###
    
    Audit Trail: by John Godley – 1.3
    Extendons: WooCommerce Product Add-ons - Custom Product Options Plugin: by Extendons – 3.0.0 – Installed version not tested with active version of WooCommerce 4.2.0
    Facebook for WooCommerce: by Facebook – 1.11.4
    Hello Dolly: by Matt Mullenweg – 1.7.2
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    
    ### WC Pages ###
    
    Shop base: #25573 - /shop/
    Cart: #25574 - /cart/
    Checkout: #25575 - /checkout/
    My account: #25576 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Divi
    Version: 4.4.6
    Author URL: https://www.elegantthemes.com
    Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 6
    Oldest: 2020-06-02 12:06:47 +0000
    Newest: 2020-06-07 15:42:12 +0000
    
    
    Plugin Support RK a11n

    (@riaanknoetze)

    Thanks! You mentioned every time you increased the memory you’re getting an error with a higher amount –> Can you share what you changed the memory limit to?

    Thread Starter stefanoid3

    (@stefanoid3)

    As my previous config says, it is now 4 gb of php memory limit (which is huge)

    I had it first at 128m said tried to alocate 156mb, changed to 1gb said tried to alocate 1.2gb. I now have 4gb and same errorr

    Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @stefanoid3,

    That is strange and not something I’m personally seeing on any of my test installations. What’s the average number of variations which are present on your products?

    Thread Starter stefanoid3

    (@stefanoid3)

    Hi Stuart,
    Thanks for reply. With a small number of variation works perfectly. However, as you may have guessed have 7 attributes with 10 terms each (around 1000 variations).
    I can’t make an excel file because it would take me ages.
    How can i overcome this memory issue?

    Thread Starter stefanoid3

    (@stefanoid3)

    I can keep increasing the memory up to 30gb as long as i know that woo can do this.
    maybe this is a limitation of Woo?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Unable to create variations’ is closed to new replies.