I have tried to use Elasticpress on two different sites in the past few days and both throw an out of memory error even if 2 GB is allocated. I am not sure if this is a current bug in ElasticPress or an incompatibility with some plugin. Each site was running PHP7, one was Apache and the other nginx. No object caching was enabled.
Elasticsearch synchronizes without any problems and works on the backend, however on the frontend a 500 error is thrown with a could not allocate 5042 bytes because the 2 GB were exhausted.
Site A
| name | status | update | version |
+------------------------------------------+----------+-----------+---------+
| a3-lazy-load | active | none | 1.7.1 |
| add-tags-and-category-to-page | active | none | 2.1 |
| admin-bar-disabler | active | none | 1.3 |
| adminer | inactive | none | 1.4.5 |
| advanced-code-editor | active | none | 2.2.6 |
| akismet | active | none | 3.2 |
| autoptimize | inactive | none | 2.1.0 |
| cloudflare-flexible-ssl1 | inactive | none | 1.2.2 |
| code-snippets | active | none | 2.7.2 |
| woocommerce-subscriptions-pending-fix | inactive | none | |
| db-error-customizer-premium | active | none | 1.2 |
| dequeue-font-awesome | active | none | 1.1 |
| disable-comments | active | available | 1.5.2 |
| disable-xml-rpc | active | none | 1.0.1 |
| easy-google-fonts | active | none | 1.4.1 |
| easy-social-icons | inactive | none | 2.0.2 |
| easy-wp-smtp | active | none | 1.2.3 |
| elasticpress | inactive | none | 2.1.2 |
| export-users-to-csv | active | none | 1.0.0 |
| features-by-woothemes | active | none | 1.5.0 |
| woocommerce-follow-up-emails | active | none | 4.4.16 |
| groups | active | none | 1.13.1 |
| groups-woocommerce | active | none | 1.9.5 |
| members | active | none | 1.1.2 |
| modular-custom-css | active | available | 1.0 |
| neatly-woocommerce | active | available | 1.0.0 |
| nextgen-download-gallery__new | inactive | available | 1.5.2 |
| nextgen-download-gallery | active | available | 1.5.2 |
| nextgen-gallery__new | inactive | available | 2.1.56 |
| nextgen-gallery | active | available | 2.1.50 |
| ord-customizations | active | none | 1.1 |
| wp-premium-image-manager | active | none | |
| page-specific-stylesheets | active | none | 1.2.2 |
| per-page-add-to | active | available | 1.3 |
| PW-Advanced-Woocommerce-Reporting-System | active | none | 2.2 |
| q-and-a | active | none | 1.0.6.2 |
| query-monitor | active | none | 2.13.2 |
| really-simple-ssl1 | active | available | 2.3.14 |
| redis-cache | inactive | none | 1.3.5 |
| remove-google-fonts-references | inactive | none | 2.6 |
| restrict-cart-contents | active | none | 1.1 |
| storefront-parallax-hero | active | none | 1.5.2 |
| storefront-pricing-tables | active | none | 1.0.3 |
| storefront-product-hero | active | none | 1.2.7 |
| storefront-woocommerce-customiser | active | none | 1.9.1 |
| sucuri-scanner | inactive | none | 1.8.3 |
| testimonials-by-woothemes | active | none | 1.5.4 |
| theme-test-drive | active | none | 2.9.1 |
| user-switching | active | none | 1.0.9 |
| vaultpress | active | none | 1.8.5 |
| woo-coming-soon | active | none | 1.2 |
| woocommerce | active | available | 2.6.8 |
| woocommerce-shipstation | active | none | 4.1.7 |
| woocommerce-colors | inactive | none | 1.0.6 |
| woocommerce-dynamic-pricing | active | none | 2.11.0 |
| woocommerce-gateway-firstdata | active | none | 4.1.7 |
| woocommerce-groups-splash-page | active | none | 1.0.0 |
| woothemes-updater | active | none | 1.7.1 |
| woocommerce-nested-category-layout | active | none | 1.9.0 |
| woocommerce-pip | inactive | none | 3.0.0 |
| woocommerce-quick-export-plugin | active | none | 2.1.2 |
| woocommerce-smart-coupons | active | none | 3.1.7 |
| woocommerce-subscriptions | active | none | 2.0.20 |
| woocommerce-table-rate-shipping | inactive | none | 2.9.2 |
| woocommerce-shipping-usps | active | none | 4.3.2 |
| woodojo | active | none | 1.5.4 |
| wordpress-importer | active | none | 0.6.3 |
| wp-crontrol | active | none | 1.3.1 |
| wp-maintenance-mode | active | available | 2.0.8 |
| wp-security-audit-log | active | available | 2.5.7 |
| wordpress-seo | active | available | 3.7.1 |
| zencache | inactive | none | 160316 |
| p3-profiler | must-use | none | |
+------------------------------------------+----------+-----------+---------+
I couldn't trace the error unfortunately, I just got the out of memory errors. I'm a sysadmin not a php dev so I limit myself to error messages and log files.
I have tried to use Elasticpress on two different sites in the past few days and both throw an out of memory error even if 2 GB is allocated. I am not sure if this is a current bug in ElasticPress or an incompatibility with some plugin. Each site was running PHP7, one was Apache and the other nginx. No object caching was enabled.
Elasticsearch synchronizes without any problems and works on the backend, however on the frontend a 500 error is thrown with a could not allocate 5042 bytes because the 2 GB were exhausted.
Site A
Site B