Skip to content

Compiling to Webassembly quickly fills up available RAM and crashes computer #41841

@rschulman

Description

@rschulman

When compiling to wasm on a Dell XPS 13 running Ubuntu 16.10, rustc begins using more and more RAM until the computer begins thrashing and eventually becomes unusable.

rustc version: rustc 1.19.0-nightly (f4209651e 2017-05-05)

Judging by the --verbose output, cargo doesn't even get as far as calling emcc before compilation gets bogged down.

Happy to help debug further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.I-slowIssue: Problems and improvements with respect to performance of generated code.O-wasmTarget: WASM (WebAssembly), http://webassembly.org/

    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