Skip to content

Copying gc in error reports uses x2 of the requested memory, which could mislead #13808

Description

@bashor

Look at crash reports in #13756.

Related code:

// Multiply by two because we need capacity in both semi-spaces.
let bytes_needed = u64::try_from(layout.size()).unwrap().saturating_mul(2);

Metadata

Metadata

Assignees

No one assigned

    Labels

    wasm-proposal:gcIssues with the implementation of the gc wasm proposal

    Type

    No type

    Fields

    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