Skip to content

1.20.0-beta.1 regression in memory usage #43789

@carols10cents

Description

@carols10cents

This is going to be vague; please feel free to close if this is covered by more specific issues (I wasn't sure) or if this is too vague to be useful.

I've seen intermittent failures with Rust 1.20.0-beta.1 (and sometimes nightly as well, but never stable) on travis when testing crates.io. The failures appear to be because it has run out of memory; this job in particular failed with:

= note: /usr/bin/ld: final link failed: Cannot allocate memory

Other samples:

It seems to happen more often on this PR. The particular job linked above is crates.io master plus the tar crate added as a dependency.

Changing the travis config to sudo: required (which apparently gives you more memory) gets that PR to pass on beta, so I'm not particularly blocked, but just wanted to raise this in case it's a useful canary in the coal mine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.I-compilememIssue: Problems and improvements with respect to memory usage during compilation.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions