Hi, our asp.net core is loading data into memory during its initialization. The data is supposed to stay throughout the application lifetime, and the size of it is around 1-2 GB. However, an abnormal memory usage is observed:



In the above class view I see some unmanaged bytes, but they are not added up to 9 GB. In a different post I read it was told the unmanaged memory not showing up in the class view is from stack. Not sure if that is the answer for the scenario I post. Can you provide the direction what the next step should I investigate to address such huge unmanaged memory usage?
In the above class view I see some unmanaged bytes, but they are not added up to 9 GB. In a different post I read it was told the unmanaged memory not showing up in the class view is from stack. Not sure if that is the answer for the scenario I post. Can you provide the direction what the next step should I investigate to address such huge unmanaged memory usage?