An example project which uses excessive memory when posting a large json body to an asp.net core web api.
Put a break point on the first line of the Post endpoint in Forecast controller.
Debug the HTTP Post test.
Check the memory usage when you hit the breakpoint