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

Add --heap-size-hint parameter #547

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MilesCranmer
Copy link
Contributor

This adds the --heap-size-hint option that is available to Julia since 1.9: https://julialang.org/blog/2023/04/julia-1.9-highlights/#memory_usage_hint_for_the_gc_with_--heap-size-hint.

Fixes #546

Also helps with MilesCranmer/PySR#706. @cjdoris do you think we could get this into a new release fairly quickly? I need this for fixing some OOM issues my users are experiencing.

Comment on lines +112 to +114
def args_from_config(config):
argv = [config['exepath']]
for opt, val in config.items():
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This part just cleans up some spooky action at a distance I noticed in the init)

@cjdoris
Copy link
Collaborator

cjdoris commented Sep 27, 2024

LGTM but can you update the docs and changelog please?

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.

Specifying --heap-size-hint to JuliaCall
2 participants