Dotnet 3.1 apps on Linux blow up all RAM of the server

Hi,
we have a 3.1 dotnet apps running on Linux server.
Generally no issue, but we see sometimes during the day, peak on RAM and CPU. The RAM grows from 300-500 MB to 50 GB and more if we don’t stop and restart the application.

We did some dotnet-trace but still don’t point the root cause of this …

Any ideas, recommendation ?

.NET Foundation Website | Blog | Projects | Code of Conduct