GC runs, memory stays high.
Why
Object pooling misused or ignored.
Fix
services.AddPooledDbContextFactory<AppDbContext>();
Daily micro-tips for C#, SQL, performance, and scalable backend engineering.
GC runs, memory stays high.
Why
Object pooling misused or ignored.
Fix
services.AddPooledDbContextFactory<AppDbContext>();