DevOps & Infrastructure

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 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.

Publisher / source
adobe/skills (found on skills.sh)
Upstream record
adobe/skills
Version
Version 3
Published
Publication review
Approved for publication
Content fingerprint
2d6787937bb38f95a1ce243a644bdf7321be8f7d59ad1eb8f9984bb08ab62e91