Memory leak after upgrading to .net 9 with large PageSize
Open
@xuzhg is already working on this.
Since Dec 10, 2024.
bug
P1
regression
- Dominant language
- C#
- Stars
- 505
- Forks
- 186
- PR merge metrics
- No merged PRs in 30d
Description
Upgrade project to net9.0 without changing anything. Doing 4th request it consumes ~5gb ram. There is no memory leak with .net8
Just do 4 request to https://localhost:7071/odata/humanentity
Project uses in memory db, but have [EnableQuery(AllowedQueryOptions = AllowedQueryOptions.All, PageSize = 1_000_000_000)] large page size.
Repro repository
https://github.com/valentasm1/Odata9MemoryLeak/tree/main
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.