Skip to content

aws.lambda.enhanced.out_of_memory seems suspiciously high on the JVM #1536

Open

Description

@BenFradet

We've noticed this metric appearing with a dd lambda extension upgrade (v97 => v99).

We have 10^3 times more aws.lambda.enhanced.out_of_memory than aws.lambda.enhanced.errors whereas the factor should be <= 1 (an actual OOM would terminate the invocation).

It seems to stem from #1241 which meant memory threshold reached => out of memory. However, on the JVM the heap will reach the memory threshold, sit there and keep working.

Somewhat related but we've also noticed a notable increase in memory consumption (~150MB) with next gen (88 and later) which led to our heap increasing and the memory limit being reached. Hopefully, this is being addressed in #1508

Activity

  1. self-assigned this
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions