Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

High memory usage #28

Closed
MagaTailor opened this issue Jan 23, 2016 · 2 comments
Closed

High memory usage #28

MagaTailor opened this issue Jan 23, 2016 · 2 comments

Comments

@MagaTailor
Copy link

I've noticed this is the only crate in the ecosystem that makes rustc's memory usage go through the roof during compilation. (especially bad in rust-bindgen or it's just the recent rustc)

That makes it difficult and slow to compile on a 1GB arm board even with ZRAM swap enabled.

What say ye?

@erickt
Copy link

erickt commented Jan 24, 2016

syntex is essentially the Rust frontend that I've extracted, and in order to make it easy to track, we'd have to address memory issues in rust-lang/rust's libsyntax, which we'd then pick up over here. So unfortunately I'd be quite non-trivial to get it to use less memory. Could you file a ticket in that repository instead, especially if you've got an easy-to-reproduce example? That'd really help.

@MagaTailor
Copy link
Author

I have no idea how to narrow it down so I'll let it slide for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants