We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The memory took large and no released, my usage is that the process continues to exist but continuously compiles and executes scripts.
When I use dotnet-script command in powershell, run 1+1 many many times, will be memroy leak.
dotnet-script
1+1
The text was updated successfully, but these errors were encountered:
This is expected. The assemblies can only be collected if you mark ScriptAssemblyLoadContext as collectible
Sorry, something went wrong.
But I use
var loader = new ScriptAssemblyLoadContext(Guid.NewGuid().ToString("N"),true); var compiler = new ScriptCompiler(logFactory, !options.NoCache) { AssemblyLoadContext = loader };
Call loader.Unload() after run. But the memory also not released.
loader.Unload()
It was ok!
No branches or pull requests
The memory took large and no released, my usage is that the process continues to exist but continuously compiles and executes scripts.
When I use
dotnet-script
command in powershell, run1+1
many many times, will be memroy leak.The text was updated successfully, but these errors were encountered: