-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xplat web publish: initial memory too small #103
Comments
fixed it by adding EmccTotalMemory to csproj file
|
Default memory should be increased in the template as it seems |
Note: with setting EmccTotalMemory=134217728 the process got a bit further, but it seems stuck on line 'Compiling assembly bitcode files...' after many hours... |
oh now it got through quite quick after running the second time... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm trying to dotnet publish an Avalonia xplat web project, but get an error in the 'Linking with emcc' step: 'wasm-ld : error : initial memory too small, 23789552 bytes needed'. I see it on Mac and Windows.
To reproduce:
Result:
BTW I'm using AvaloniaVersion: 11.0.0-preview1, workload wasm-tools is installed . Is there a way to get publish working with xplat web project?
The text was updated successfully, but these errors were encountered: