Open verdie-g opened 5 months ago
Tagging subscribers to this area: @brzvlad See info in area-owners.md if you want to be subscribed.
Did you try setting EmccMaximumHeapSize to something larger?
I've just tried setting
<EmccMaximumHeapSize>4294967296</EmccMaximumHeapSize>
in my csproj but it still OOMs.
can you try setting EmccInitialHeapSize to something large as well?
Same behavior with
<EmccInitialHeapSize>3000000000</EmccInitialHeapSize>
<EmccMaximumHeapSize>4294967296</EmccMaximumHeapSize>
Description
OutOfMemoryExceptions are thrown after allocating more than ~1 GB in a Blazor Wasm app.
This is a duplicate of https://github.com/dotnet/aspnetcore/issues/55694 that got closed but the issue is not solved.
Reproduction Steps
dotnet new blazorwasm -n BlazorTest
dotnet run --project BlazorTest
Expected behavior
Because wasm uses a 32-bits addressing, I would expect to be able to use 4 GB of memory.
Actual behavior
OOM is thrown after allocating ~1 GB of memory.
Regression?
No response
Known Workarounds
No response
Configuration
.NET: 8.0.100 OS: Ubuntu x64 Browser: Google Chrome 125
Other information
No response