Confirms an infinite loop OOM issue caused by the combination of Metatags v1.18+ and Search API when using memcache for caching on the search view.
- Out of memory error with metatag_view submodule and Search API view
- Out of memory error when used with views, metatag and memcache modules
- Git
- Lando
git clone https://github.com/CascadePublicMedia/metatag-3245876.git
cd metatag-3245876
composer install
lando start
lando db-import metatag-3245876.sql.gz
- Navigate to http://metatag-3245876.lndo.site/.
- Search for a term with results: "dolore" (should work).
- Run
lando drush cr
. - Search for the same term again: "dolore" (OOM exception).
After following these steps the search term will causes OOM executions until memcache is flushed manually with:
lando drush ev "Drupal::service('memcache.factory')->get('default')->flush();"
Admin login and password is drupal9
.