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
The code is nearly identical, the major differences being the compiler and the runtime. We're still building using .Net Core 3.1.
There are some differences I've observed between the .Net Framework builds vs the .Net Core builds, for example opening CefSharp.Core.Runtime.dll in dotPeek you can see the referenced dlls in the .Net Core version contains every dll in the runtime, where the .net framework version only has the used references. So I think the compiler isn't behaving correctly there.
Once #4640 has been resolved we can look at upgrading to a new .Net version.
In the short term you can try self hosting the browser sub process so the BrowserSubProcess runs the same version of .net as your main application.
Is there an existing issue for this?
CefSharp Version
120.2.50
Operating System
Windows 11
Architecture
x86
.Net Version
.NET 6.0
Implementation
WinForms
Reproduction Steps
Create minimal application that uses CefSharp and build it both for .NET Framework and .NET Core.
Expected behavior
Both versions should take a similar amount of RAM.
Actual behavior
There's a 20-30% difference between the two versions' working set.
See this table (taken from Process Explorer):
.NET 6:
.NET 4.7.2:
This increases even further when I actually start browsing in either program.
Regression?
No response
Known Workarounds
No response
Does this problem also occur in the CEF Sample Application
Not Tested
Other information
No response
The text was updated successfully, but these errors were encountered: