Skip to content

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

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

Activity

  1. added and removed
    triagePending triage from maintainers
    on Mar 20, 2025
  2. github-actions commented on Mar 20, 2025

    @github-actions
    Contributor

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

  3. github-actions commented on Mar 25, 2025

    @github-actions
    Contributor

    This is now released under 3.9.0 version!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions