Skip to content

Compiling freezes whole PC #8541

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

Closed
farnoy opened this issue Aug 15, 2013 · 6 comments
Closed

Compiling freezes whole PC #8541

farnoy opened this issue Aug 15, 2013 · 6 comments

Comments

@farnoy
Copy link
Contributor

farnoy commented Aug 15, 2013

Hi,

This seems unrelated, but recently I've been getting freezes when during compilation. At first I thought it was just happening after some time running, but now I'm positive it occurs when compiling rust. Has something changed recently on the compilation part? I'm running linux 3.10.6 on x86_64 machine, building from edge git.

@graydon
Copy link
Contributor

graydon commented Aug 15, 2013

How much memory does the machine have?

@farnoy
Copy link
Contributor Author

farnoy commented Aug 15, 2013

4 gigabytes - google-chrome running (:D)

@farnoy
Copy link
Contributor Author

farnoy commented Aug 15, 2013

Ok, after shutting down most of the stuff and getting to 900M occupied ram, I was able to compile it. Shouldn't this swap or crash when it runs out of memory?

@thestinger
Copy link
Contributor

What was the command you were using to compile? The test suite part will continue spawning processes, and especially if you have a traditional hard drive it can get caught up in I/O waits.

@farnoy
Copy link
Contributor Author

farnoy commented Aug 15, 2013

Just ./configure --disable-docs --prefix=~/.bin/rust && make. No tests were ran and I think it compiles LLVM cleanly on low-ram conditions, because when fired up later, only rust libs are compiled.

@farnoy
Copy link
Contributor Author

farnoy commented Aug 17, 2013

It's my OS that's unstable when in low memory conditions, and rust filling my memory up is just indirectly causing freezes, so this issue does not belong here, sorry.

@farnoy farnoy closed this as completed Aug 17, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Mar 24, 2022
…giraffate

Move iter_with_drain to nursery

cc rust-lang#8538 rust-lang#8539

r? `@giraffate`

changelog: Move [`iter_with_drain`] to nursery
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

3 participants