Skip to content

CompileError: WebAssembly.compileStreaming(): Requested length 14592 for array.new_fixed too large, maximum is 10000 @+692248 #55872

Description

@dhruvpatidar359

I compiled my flutter web app , into wasm and tried to run it locally but it gives the error :
CompileError: WebAssembly.compileStreaming(): Requested length 14592 for array.new_fixed too large, maximum is 10000 @+692248

Please help , i am attaching the github repo and the screen shots .

Debug run :
image

Wasm build run
image

Github Link : https://github.com/dhruvpatidar359/insightX

This tracker is for issues related to:

  • Dart native and web compilers

If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.

General info

  • Dart 3.4.1 (stable) (Tue May 21 15:46:25 2024 +0000) on "windows_x64"
  • on windows / "Windows 10 Home Single Language" 10.0 (Build 19045)
  • locale is en-IN

Project info

  • sdk constraint: '>=3.4.1 <4.0.0'
  • dependencies: cupertino_icons, flutter, gap, google_fonts, material_design_icons_flutter, pixel_snap, random_avatar
  • dev_dependencies: flutter_lints, flutter_test

Process info

Memory CPU Elapsed time Command line
29 MB -- dart.exe
119 MB -- dart.exe
78 MB -- dart.exe
4 MB -- dart.exe
34 MB -- dart.exe
95 MB -- dart.exe
  • Whether you are using Chrome, Safari, Firefox, Edge (if applicable) : Using Chrome

Flutter doctor :

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.22.1, on Microsoft Windows [Version 10.0.19045.4291], locale en-IN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.2.5)
[√] Android Studio (version 2022.3)
[√] IntelliJ IDEA Community Edition (version 2021.3)
[√] VS Code (version 1.89.1)
[√] Connected device (3 available)
[√] Network resources

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart2wasmIssues for the dart2wasm compiler.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions