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

Make the GC less greedy #50101

Closed
wants to merge 1 commit into from
Closed

Conversation

gbaraldi
Copy link
Member

@gbaraldi gbaraldi commented Jun 7, 2023

This is a simple change that makes the GC less greedy, this might regress the performance a bit but should reduce the amount of OOMs that people are seeing since 1.9.

@gbaraldi gbaraldi requested a review from d-netto June 7, 2023 13:55
@oscardssmith
Copy link
Member

I really don't like this heuristic. I don't think the problem is the number, but the strategy is fundamentally wrong when you have multiple Julias.

@gbaraldi
Copy link
Member Author

gbaraldi commented Jun 7, 2023

The heuristics are all bad anyway, this just makes it safer. Checking the state of the OS isn't really doable, because most OSs will use as much RAM as they can for caching stuff since that's optimal. So there isn't really a correct way outside of the user setting the heapsize if they know they have multiple julia processes.

@gbaraldi
Copy link
Member Author

With 1.10 in the horizon and hopefully #50144 I think I can close this.

@gbaraldi gbaraldi closed this Jun 27, 2023
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.

2 participants