Skip to content
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

[FEATURE]: Use mamba as a drop-in replacement of conda in readthedocs builds #208

Closed
tomvothecoder opened this issue Mar 23, 2022 · 0 comments · Fixed by #209
Closed

[FEATURE]: Use mamba as a drop-in replacement of conda in readthedocs builds #208

tomvothecoder opened this issue Mar 23, 2022 · 0 comments · Fixed by #209
Labels
type: devops Testing, CI/CD, systems configuration type: enhancement New enhancement request

Comments

@tomvothecoder
Copy link
Collaborator

Is your feature request related to a problem?

The repo's readthedocs build often times out with the message Build exited due to excessive memory consumption.

Example: https://readthedocs.org/projects/xcdat/builds/16450539/

I suspect this is related to conda (readthedocs/readthedocs.org#6412 (comment))

The main problem here is that conda consumes a lot of memory to do the package resolution. We had this problem in the past and it's a known issue in the conda community.

A possible solution is to use mamba as a drop-in replacement for conda to reduce memory consumption and decrease build time. https://docs.readthedocs.io/en/stable/guides/conda.html#making-builds-faster-with-mamba

Other fixes: https://docs.readthedocs.io/en/stable/guides/build-using-too-many-resources.html

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

@tomvothecoder tomvothecoder added type: enhancement New enhancement request type: devops Testing, CI/CD, systems configuration labels Mar 23, 2022
@tomvothecoder tomvothecoder changed the title [FEATURE]: [FEATURE]: Use mamba as a drop-in replacement of conda in readthedocs builds Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: devops Testing, CI/CD, systems configuration type: enhancement New enhancement request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant