Skip to content

MemoryError with larger dependency files #3612

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
jadolfbr opened this issue Feb 15, 2018 · 2 comments
Closed

MemoryError with larger dependency files #3612

jadolfbr opened this issue Feb 15, 2018 · 2 comments

Comments

@jadolfbr
Copy link

Details

Expected Result

Clean build of requirements.txt

Actual Result

Hit a MemoryError while downloading SciPy in the virtualenv. Had to remove from requirements.txt temporarily
https://stackoverflow.com/questions/29466663/memory-error-while-using-pip-install-matplotlib

@stsewd
Copy link
Member

stsewd commented Feb 15, 2018

The memory limit is 1Gb

https://docs.readthedocs.io/en/latest/builds.html#build-process

(You can request more memory as mention on the docs)

Probably we could add an option for the pip options (--no-cache-dir).

@humitos
Copy link
Member

humitos commented Mar 22, 2018

This seems to be a problem specific to pip and not RTD.

In any case, if you don't needs matplotlib (or any other dependency) to build your docs you shouldn't make it required to build the docs by having a separate requirements.txt file.

Probably we could add an option for the pip options (--no-cache-dir).

The cache is useful for all the projects to not re-download the same packages all the time. So, we shouldn't add the --no-cache-dir option.

I'm closing this issue. Please, feel free to reopen if you consider.

@humitos humitos closed this as completed Mar 22, 2018
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