Blog Sections Open

Preventing evoSearch Memory Exhaustion on Large Evolution CMS Sites

Why evoSearch can run out of memory on large sites and what to optimize before search starts taking the whole project down.

Search is often the first feature to collapse when an Evolution CMS site grows beyond the scale the original build expected. In the reported case, evoSearch on a large site exhausted hundreds of megabytes of memory and crashed while working through cached data structures.

The visible symptom was dramatic:

Allowed memory size exhausted ... assets/cache/siteCache.idx.php

But the real lesson is broader. On larger installs, search problems are rarely solved by increasing the memory limit alone. The better questions are:

  • how much content is being scanned per request;
  • whether the search layer is loading too much cached structure into memory at once;
  • and whether the project has outgrown the original search approach entirely.

For large sites, this usually leads to one of three strategies: narrow the searchable dataset, optimize the indexing behavior, or move to a more scalable search stack. What matters is recognizing the memory exhaustion as an architectural warning, not just a server setting annoyance.

Newer post

Fixing “Maximum Function Nesting Level Reached” in Evolution CMS Cache Sync

Why Evolution CMS can hit a maximum function nesting error during cache sync and what that usually means in local development.

Older post

Fixing 301 Redirects That Append `?q=` in Evolution CMS

Why a manual 301 redirect can unexpectedly append a q parameter in Evolution CMS and how to write the rule safely.