Skip to content

OutputCaching middleware memory leak #61800

Open
@narcis-ro

Description

@narcis-ro

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

OutputCacheEntry is renting an ArrayPool that never gets returned to the pool, in method: CopyHeadersFrom

P.S the dispose is empty and is never released in any other place

Expected Behavior

ArrayPool rented should be returned

Steps To Reproduce

Normal usage of Output caching, behavior happens if there are headers to cache

Exceptions (if any)

No response

.NET Version

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresfeature-output-caching

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions