I have an ASP.NET Core 6 Web API project.
When I'm running the project, my project takes about 2 GB of memory!
I found this problem in the dotMemory application:
There seems to be a problem with this part (Routing)
My project has some routes.
For example for every action, It has four routes.
They are defined like this:
Where do you think the problem is, where did this memory problem come from and how should I solve it?