0

can anyone tell me to reduce .net core 2.0 memory usage on Ubuntu 16.04 to around 10 mb or low. Currently its using 70-80 mb of memory. thats good for dynamic website but high for a static one.

I want something like php fpm pool ondemand thread attribute which is good for demo wesbites to show to client. It uses memory only when executed and then releases the memory back to system.

1 Answer 1

0

This is probably an expected behavior on asp.net core chooses to use Server GC by default. You can turn off this feature to reduce the resource utilization. Refer here for more information regarding this.

1
  • will this work in ubuntu since i dont think csproj file is included when i publish the website Jul 1, 2018 at 9:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .