Open tianxin8206 opened 1 year ago
You can continue to check what objects are increasing in memory.
Maybe related to https://github.com/dotnet/aspnetcore/issues/17979
After debugging with windbg, it has been found that ApiParameterDescription occupies a large amount of memory. I have uploaded the example code here, and you can also try to reproduce it. @maliming
hi
This is related to aspnetcore and swagger. We can't do anything.
Is there an existing issue for this?
Description
I using NTS types in my model,swagger is not displaying content properly.
Reproduction Steps
Entity Code:
DTO Code:
Swagger Code:
EntityFrameworkCoreModule Code:
NetTopologySuite version:2.5.0 Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite:7.0.4
Expected behavior
No response
Actual behavior
Memory keeps increasing.
Regression?
No response
Known Workarounds
This problem was not found using an empty asp.net core mvc template.
Version
7.3.2
User Interface
MVC
Database Provider
EF Core (Default)
Tiered or separate authentication server
None (Default)
Operation System
Windows (Default)
Other information
No response