aws-powertools/powertools-lambda-python

Feature request: Clear log buffer before starting next one

Closed this issue · 2 comments

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

⚠️COMMENT VISIBILITY WARNING⚠️

This issue is now closed. Please be mindful that future comments are hard for our team to see.

If you need more assistance, please either tag a team member or open a new issue that references this one.

If you wish to keep having a conversation with other community members under this issue feel free to do so.

This is now released under 3.9.0 version!