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

Reduce memory usage #361

Merged
merged 2 commits into from
Jun 11, 2019
Merged

Reduce memory usage #361

merged 2 commits into from
Jun 11, 2019

Conversation

trefis
Copy link
Contributor

@trefis trefis commented May 29, 2019

We have some files at janestreet where odoc was using over 40G of memory, this series of patch brings that back down to roughly 10G.
On these files odoc is about 5x slower though.

I expect the rewrite that @jonludlam is currently working on to improve the (resulting as well as preexisting) slowness issues.
In the meantime, these patches are necessary because odoc gets reliably OOM killed when ran from a build system.

@lpw25
Copy link
Contributor

lpw25 commented May 29, 2019

I think the first two commits are worth having. The third one probably just makes things worse for people other than us -- so we're happy to just keep that on our internal branch until the rewrite is done.

@trefis
Copy link
Contributor Author

trefis commented Jun 3, 2019

I removed the last commit.

@aantron aantron merged commit 08136a4 into master Jun 11, 2019
@aantron
Copy link
Contributor

aantron commented Jun 11, 2019

Thanks!

@aantron aantron deleted the reduce-memory-usage branch July 25, 2019 17:04
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

Successfully merging this pull request may close these issues.

3 participants