Skip to content

"cargo test" on main repo uses 32+Go RAM (and crash my computer) on Windows #18917

Closed
@Sxmourai

Description

@Sxmourai

Bevy version

v0.16.0-dev, I just cloned the bevy repo to contribute

[Optional] Relevant system information

Windows 11
rustup 1.28.1
rustc 1.85.1 stable
cargo 1.85.1
Error is compile related

What you did

Just cloned bevy repo, and ran "cargo t"

What went wrong

At the 452/762 crate, I have multiple instances of Microsoft Linker which uses all more than 2Go of RAM. My computer having 32Go of RAM, my computer crashes.

Additional information

Both Microsoft base linker and rust-lld.exe have the issue
Same issue using the fast compile config in .cargo/config.toml
The crates creating the issue (I think):
ui_scaling(example), text2d(example), iter_combinations(example)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BugAn unexpected or incorrect behaviorS-Needs-TriageThis issue needs to be labelled

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions