Garbage Collector

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hi,

it's a bad idea put GC.Collect() in a nop commerce task?


thanks
5 years ago
The real questions is - why do you think you need it?  ;)

In general, you should refrain from calling the GC.Collect method explicitly unless there is a specific reason do so.
5 years ago
https://www.nopcommerce.com/boards/t/56058/application-restart-memory-usage.aspx
5 years ago
https://www.nopcommerce.com/boards/t/54986/nopcommerce-410-high-memory-usage-and-how-weve-handled-it.aspx
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.