The Wire · Showcase
FSHARP FIXES MEMORY LEAK IN DEBUG BUILDS, DEVPROXY TIGHTENS THREADING
By RepoJournal · Filed · About .NET
F# compiler eliminated a process-wide MeterListener accumulation bug that was degrading cache operation performance in DEBUG builds.
The F# team shipped a critical fix [1] that stops unbounded MeterListener instances from leaking in debug builds. Every Cache instance was creating a listener that registered globally and never disposed, causing cache operations to slow linearly with listener count. Separately, dev-proxy addressed a stricter analyzer rule [2] by converting synchronous file loading to async when upgrading Microsoft.VisualStudio.Threading to 18.x. The threading library's new VSTHRD103 enforcement caught the blocking call and forced the refactor. Meanwhile, SqlClient pinned the Microsoft.SqlServer.Server package version [3] to 1.0.0 to fix MDS release builds pulling non-existent preview builds from the internal feed. Routine codeflow updates continue rolling through WinForms [4] and WPF [7] from the VMR, with F# pulling latest Roslyn and MSBuild dependencies [5] [6].
One email a day. Unsubscribe in one click.
Keep up with .NET in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review F# debug build cache metrics fix if you maintain diagnostic tooling dotnet/fsharp [monitor]
- → Test dev-proxy's async certificate loading in your CI pipeline dotnet/dev-proxy [plan]
- → Verify SqlClient builds against pinned Microsoft.SqlServer.Server 1.0.0 dotnet/SqlClient [plan]
References
- [1] Avoid leaking a MeterListener per Cache in DEBUG builds ↗ dotnet/fsharp
- [2] chore: bump NuGet dependencies ↗ dotnet/dev-proxy
- [3] Pin Microsoft.SqlServer.Server package version to 1.0.0 ↗ dotnet/SqlClient
- [4] [main] Source code updates from dotnet/dotnet ↗ dotnet/winforms
- [5] [main] Update dependencies from dotnet/roslyn ↗ dotnet/fsharp
- [6] [main] Update dependencies from dotnet/msbuild ↗ dotnet/fsharp
- [7] [main] Source code updates from dotnet/dotnet ↗ dotnet/wpf