PythonCall.jl icon indicating copy to clipboard operation
PythonCall.jl copied to clipboard

Add `--heap-size-hint` parameter

Open MilesCranmer opened this issue 1 year ago • 1 comments

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 https://github.com/JuliaPy/PythonCall.jl/issues/546

Also helps with https://github.com/MilesCranmer/PySR/issues/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.

MilesCranmer avatar Aug 29 '24 18:08 MilesCranmer

LGTM but can you update the docs and changelog please?

cjdoris avatar Sep 27 '24 17:09 cjdoris

Merged with thanks :)

cjdoris avatar Feb 21 '25 22:02 cjdoris