Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RUST_LOG setting causes huge memory leak when building rustc #6558

Closed
Sodel-the-Vociferous opened this issue May 17, 2013 · 2 comments
Closed

Comments

@Sodel-the-Vociferous
Copy link
Contributor

The following make command and RUST_LOG setting will cause the compiler to happily eat up all system memory:

RUST_LOG=rustc::middle::typeck make

I'm running Arch Linux on x86_64 with 8GB of RAM.

@huonw
Copy link
Member

huonw commented May 17, 2013

This appears to happen on Debian x86 and x64 also.

@huonw
Copy link
Member

huonw commented Sep 3, 2013

Triage: looks fixed, letting RUST_LOG=rustc make 2>&1 | awk '!(NR%10000)' (awk to avoid dumping megabytes of logging to my terminal) run for 10 minutes hasn't eaten all my memory. Closing.

@huonw huonw closed this as completed Sep 3, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Jan 15, 2021
Fix typo: `irrevelent` -> `irrelevant`

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants