Skip to content

Blazor WASM Error on iOS Safari - RangeError: Out of Memory #79909

@kyletinsley

Description

@kyletinsley

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

When loading Blazor WASM apps in iOS Safari, the following error is encountered, causing all apps to fail to load:
RangeError: Out of memory

I've encountered this error in every app I've written. To ensure the issue was not within my code, I created a new project using the standard WASM template in VS (counter/weather) and made no modifications.
image

I then deployed the default/unmodified app to Azure and repeated my testing. The error is encountered randomly when refreshing Safari on iOS (about every 5th refresh). I've experienced this on multiple iPhones and verified on BrowserStack using several iOS devices and Safari versions.

Here's the deployed base app:
https://blazor7-test.azurewebsites.net

This is s screenshot I took from BrowserStack:
2022-12-22_10-08-30

Expected Behavior

App should load successfully, as it does in other browsers.

Steps To Reproduce

  1. Using the standard .NET7 Blazor WebAssembly project template, create a new project.
  2. Deploy that app to Azure app services.

Exceptions (if any)

RangeError: Out of Memory

.NET Version

7.0.100

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions