linqisnice
Hangfire out of memory exception crashing our app services. Anyone got any advice?
So, hangfire serializes methods and persists them to the db, polls the db and then a worker deserializes a method argument and invokes the method. Either reading from the db or deserialization fails due to the size of the data, that much seems evident from the image above. But how do I even begin to troubleshoot it? Because it doesnt make sense to me, the db has no mroe jobs left
5 replies
ASP MVC Inventory management checkout process help
Don't think you can use DbContextFactory along with DbContext registered as scoped because it will select the first one that is registered. You can work around this ,but should probably use IServiceScopeFactory to resolve scoped services in a singleton to avoid captive dependecy
252 replies