-
Notifications
You must be signed in to change notification settings - Fork 1
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
rsp2-python uses up to 8.1 GB (!!) of RAM when being built #69
Comments
Holy cheeseballs! Do you have a target folder in |
Nothing other than this:
I killed my target directory in the main rsp2 folder, still happens. I'm pretty sure it does this on my work computer too. |
how large is |
12MB Edit: just went ahead and killed it, building again. |
...that was actually the issue. Takes 11s to compile now. Ok. Whatever. |
I haven't looked at how There doesn't seem to be an easy solution to this; I'm stuck between patching Or having |
Well, apparently as long as you don't accidentally leave any large json files (that it tries to parse or something?) in the source tree it seems to be fine. It's probably fine as it is, unless a simple warning can be added or similar |
I believe it takes every file in the directory, reads it as binary, and generates binary literals like this. I assumed it used the compiler's own I could easily add a check for files without python extensions, but that's more or less it. |
Should be addressed in b135a65 (now on the |
I submitted a PR to |
triage: Still no release of the upstream crate. I'll go bug the maintainer. |
Yeah not sure what's going on here, rustc seems to be using a ton of memory compiling rsp2_python. Incidentally, clion likes to auto-compile things when you open it and does both release + debug, and since I only have 16 GB ram it doesn't end well.
Edit: this is the specific command for the plot above
The text was updated successfully, but these errors were encountered: