Skip to content

[WASM / CoreCLR GC] Can we support the hard heap limits on 32 bit? #118943

Closed

Description

@SingleAccretion

WASM memory model makes it very similar to an environment with very restricted virtual address space, where we don't want to reserve large blocks of memory upfront (since they also get 'committed' right away). It is also an environment where this restriction can be very tight (< 32 MB).

Right now, the default 32 bit config reserves something like ~50MB of memory on startup, which is pretty large, and this number doesn't respect the WASM memory limits because the necessary code is 64-bit only.

Is fixing that "just work" or something trickier?

Ref: #85844.
Context: dotnet/runtimelab#3150.

Activity

  1. added
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Aug 20, 2025
  2. added and removed
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Aug 20, 2025
  3. dotnet-policy-service commented on Aug 20, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @dotnet/gc
    See info in area-owners.md if you want to be subscribed.

  4. dotnet-policy-service commented on Sep 9, 2025

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-wasm': @lewing
    See info in area-owners.md if you want to be subscribed.

  5. added this to the 11.0.0 milestone on Sep 9, 2025
  6. removed
    untriagedNew issue has not been triaged by the area owner
    on Sep 9, 2025
  7. added
    untriagedNew issue has not been triaged by the area owner
    on Sep 19, 2025
  8. locked and limited conversation to collaborators on Jun 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions