a↗agentbay.Get AgentBay
My account ▾
Menu
Back to results

unbounded-query

AEM Cloud Service expert skill — handle an explicitly-unbounded query (`p.limit=-1` predicate or JCR `setLimit(-1)`): bound it when capping is provably safe, otherwise flag it for human pagination. Use for "bound my query", "unbounded query", "query causing OOM", or a scan that flags `p.limit=-1`. Top CSO OOM cause: an unbounded result set…

Full publisher description

AEM Cloud Service expert skill — handle an explicitly-unbounded query (`p.limit=-1` predicate or JCR `setLimit(-1)`): bound it when capping is provably safe, otherwise flag it for human pagination. Use for "bound my query", "unbounded query", "query causing OOM", or a scan that flags `p.limit=-1`. Top CSO OOM cause: an unbounded result set traversed in a loop fills the heap and saturates the instance. The analyzer locates the explicit markers; the recipe triages each by how the result is consumed — single-result → 1, already-bounded list → N, iterate-all on the request path → escalate. Never silently cap a result the caller reads in full.

Source details

Read SKILL.md ↗ · Browse skill folder ↗

adobe/skills

plugins/aem/cloud-service/skills/code-assessment/unbounded-query/SKILL.md

Pinned revision 3d5317db858fd02a74a8118bd9d6145c94cf404e

Source checked

Reviewed licence: Apache-2.0
Specific instruction/source terms; preserve the linked licence conditions, notices and attribution.

Reviewed publisher revision ↗ · 2026-11-22
This indexed source has a different revision. Verify its applicable terms before use.

This skill page is available in English. Publisher instructions stay in their original language.