I am trying to use Hangfire to perform various jobs on a daily schedule in an .NET Core 2.1 windows service.
I followed the instructions provided in the docs and everything is working perfectly, except that the memory footprint increases after every job execution. It seems that the jobs are not getting disposed correctly. I tried some very basic jobs (eg. write some text to console) without dependency injection, and this issue still occurs - so I do not think it relates to DI scope or disposal.
Also tried (with no success):
-Using .net core 2.0
-Using in memory storage (instead of SQL server storage)
-Hosting in a Web API instead of windows service
-Disabling the dashboard
Any suggestions would be much appreciated!