Closed mertyildiran closed 4 years ago
It seems your are installing a ton of dependencies. Some of them are heavy and are compiled each time a build is triggered, which is causing the memory issue.
I suggest you to not install any dependency that it's not needed to build your documentation: I suppose that nltk
, for example, is not needed --among others. Usually, it's a good practice to have a separate requirements.txt
file only for documentation.
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. Thanks!
Details
Expected Result
Successful build.
Actual Result
After this commit which aims to get rid of duplicate Python package dependency specifications by merging two requirements.txt into one, I started to get the
Command killed due to excessive memory consumption
error.I enabled
system_packages: true
but the error persists. I usepip
instead ofconda
just like it's advised in hereMy .readthedocs.yml.
How can I fix this error without creating an additional
requirements.txt
underdocs/
? I want only onerequirements.txt
in my project since I have a lot of dependencies and I frequently update them.