Skip to content

Memory leak in Regex caching logic #2246

@donnytian

Description

@donnytian

Expected Behavior / New Feature

No memory leak

Actual Behavior / Motivation for New Feature

After upgrade to 23.4.2 and net8, service keep restarting due to out-of-memory
image

Steps to Reproduce the Problem

1.upgrade from net6 to net8
2.upgrade to Ocelot 23.4.2

Specifications

  • Version: 23.4.2
  • Platform: EKS runtime image: mcr.microsoft.com/dotnet/aspnet:8.0-bookworm-slim
  • Subsystem:

Predecessor

Metadata

Metadata

Assignees

Labels

CachingOcelot feature: CachingCoreOcelot Core related or system upgrade (not a public feature)bugIdentified as a potential bughighestHighest priorityhotfixGitflow: Hotfix issue, PR related to hotfix branchmergedIssue has been merged to dev and is waiting for the next release

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions