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
CompilationOptions doesn't hold on to a bunch of JObject objects 😆
Actual behavior
The defines argument passed here is a lazy IEnumerable<string> holding on to a bunch of parsed JSON data.
For this tiny MVC site, it's about 1.5mb per CompilationOptions instance of extra memory retained (we have 2 copies for some reason) of 14.7mb total.
Environment data
dotnet --version output:
.NET Command Line Tools (1.0.0-beta-001634)
Product Information:
Version: 1.0.0-beta-001634
Commit Sha: 3ed9361763
Runtime Environment:
OS Name: Windows
OS Version: 10.0.10586
OS Platform: Windows
Runtime Id: win10-x64
Using "Microsoft.Extensions.DependencyModel": "1.0.0-beta-001584",
The text was updated successfully, but these errors were encountered:
* "TargetFramework" is not needed; moreover it changes the property: "OutputPath" [see: PushToBlobFeed.targets]
* Put back "TargetFramework" for the 'restore' call.
The 'PushToBlobFeed' call cannot find the NuPkg because "OutputPath" is changed.
Steps to reproduce
Create an MVC site and run some requests (https://github.com/aspnet/Performance/tree/dev/testapp/BasicViews used for this). See aspnet/Mvc#4175
Expected behavior
CompilationOptions
doesn't hold on to a bunch ofJObject
objects 😆Actual behavior
The
defines
argument passed here is a lazyIEnumerable<string>
holding on to a bunch of parsed JSON data.For this tiny MVC site, it's about 1.5mb per
CompilationOptions
instance of extra memory retained (we have 2 copies for some reason) of 14.7mb total.Environment data
dotnet --version
output:Using
"Microsoft.Extensions.DependencyModel": "1.0.0-beta-001584",
The text was updated successfully, but these errors were encountered: