You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was doing some analysis of all assemblies on NuGet.org using Azure Functions and I found some packages failed with OutOfMemoryException. Many assemblies load without a problem, but I found several that take more than 1 GB of memory to load. The assembly itself is not even 5 MB so I'm not sure what's going on. Perhaps the DLL is obfuscated? No clue.
Anyway, I am trying to get the assembly public key token. Here's some example code, showing both memory consumption and durations.
I was doing some analysis of all assemblies on NuGet.org using Azure Functions and I found some packages failed with
OutOfMemoryException
. Many assemblies load without a problem, but I found several that take more than 1 GB of memory to load. The assembly itself is not even 5 MB so I'm not sure what's going on. Perhaps the DLL is obfuscated? No clue.Anyway, I am trying to get the assembly public key token. Here's some example code, showing both memory consumption and durations.
The output is:
Nearly 1.6 GB of memory to load this DLL. The DLL was found in this package: https://www.nuget.org/packages/Flexygo/1.0.13.36-rc
A minimal repro is here: ConsoleApp2.zip
The text was updated successfully, but these errors were encountered: