Forum Stats

  • 3,825,270 Users
  • 2,260,492 Discussions
  • 7,896,474 Comments

Discussions

macos - dotnet memory leaks

OS: macOS 12.4, dotnet 6.0.6

There is no allocated memory of dotnet instance after restarting of computer:

Then I open and close VSCode with Oracle Developer Tools for VS Code extension 5 times. VSCode applications is closed, but there are stacked 5 instance of dotnet in memory (screens are from Activity monitor - Memory).

The list of opened files from dotnet memory instance:

cwd
/
txt
/usr/local/share/dotnet/dotnet
txt
/usr/local/share/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Runtime.dll
txt
/Library/Preferences/Logging/.plist-cache.Tma6dT9T
txt
/usr/local/share/dotnet/shared/Microsoft.NETCore.App/6.0.6/netstandard.dll
txt
/usr/local/share/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Threading.Thread.dll
txt
/usr/local/share/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Xml.ReaderWriter.dll
txt
/usr/local/share/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Reflection.Emit.ILGeneration.dll
txt
/usr/local/share/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Reflection.Emit.Lightweight.dll
txt
/usr/local/share/dotnet/shared/Microsoft.NETCore.App/6.0.6/System.Reflection.Primitives.dll
txt
/usr/local/share/dotnet/host/fxr/6.0.6/libhostfxr.dylib
txt
/usr/local/share/dotnet/shared/Microsoft.NETCore.App/6.0.6/libhostpolicy.dylib
txt
/Users/jezikk/.vscode/extensions/oracle.oracledevtools-21.4.0/out/server/OracleVSCodeServer60.dll
txt
/usr/local/share/dotnet/shared/Microsoft.NETCore.App/6.0.6/libSystem.Native.dylib
txt
/private/var/db/timezone/tz/2022a.1.0/icutz/icutz44l.dat
txt
/Users/jezikk/.vscode/extensions/oracle.oracledevtools-21.4.0/out/server/OracleVSCodeResources.dll
txt
/Users/jezikk/.vscode/extensions/oracle.oracledevtools-21.4.0/out/server/OracleVSToolsSharedContracts.dll
txt
/usr/local/share/dotnet/shared/Microsoft.NETCore.App/6.0.6/libcoreclr.dylib
txt
/Users/jezikk/.vscode/extensions/oracle.oracledevtools-21.4.0/out/server/Newtonsoft.Json.dll
txt
/Users/jezikk/.vscode/extensions/oracle.oracledevtools-21.4.0/out/server/OracleVSCommonTools.dll
txt
/usr/local/share/dotnet/shared/Microsoft.NETCore.App/6.0.6/libclrjit.dylib
txt
/usr/share/icu/icudt70l.dat
txt
/Users/jezikk/.vscode/extensions/oracle.oracledevtools-21.4.0/out/server/OracleVSSqlParser.dll
txt
/usr/lib/dyld

...

I don't know what it's causing, but can't it be a memory leak?


Jezikk

Answers