Skip to content

Feature request: Clear log buffer before starting next one #6310

@leandrodamascena

Description

@leandrodamascena

Use case

Original issue: aws-powertools/powertools-lambda-typescript#3705

We are currently not clearing the buffer before the next invocation, which may mean that customer are experiencing excessive memory usage as it may store unflushed buffer from previous executions.

Solution/User Experience

Clear the buffer if a new invocation arrives.

Alternative solutions

Acknowledgment

Metadata

Metadata

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions