Our great sponsors
-
SqlClient
Microsoft.Data.SqlClient provides database connectivity to SQL Server for .NET applications.
-
PowerShell.DebuggingTools
Discontinued Repository PowerShell.DebuggingTools created on December 16, 2022 5:39 PM by desktop-1lebrea\gp
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
If you're connecting to SQL Server, connection pooling can be a common cause of apparent memory leaks. If you're opening and closing hundreds of connections, the pool may not be disposing of the connections quickly enough. Or you might be running into issues like this one. You might want to look at SqlConnection.ClearAllPools or SqlConnection.ClearPool or simply disabling connection pooling entirely in the connection string.
The following PowerShell script uses the API's SetProcessWorkingSetSizeEx.aspx)
Related posts
- NH: Unity OSS Open Context Circle Menu in Your Secen View
- Nephalem's nightmare. Exploring errors in Diablo 3 server emulator code
- Show HN: See your currently playing Spotify song in the menu bar
- The software industry rapidly convergng on 3 languages: Go, Rust, and JavaScript
- The Rise and Fall of the LAN Party