Hi there,
I am looking to make Julia run smoothly on a kubernetes pod. There seem to be two things which somehow improve stability:
-
Expose constrained memory limits and have the GC use them by maleadt · Pull Request #46796 · JuliaLang/julia · GitHub which makes
Sys.total_memory()
respect the docker memory -
added new command line option heap_size_hint for greedy GC by rssdev10 · Pull Request #45369 · JuliaLang/julia · GitHub which introduces
--heap_size_hint
commandline option
My question: does it make sense to set the heap_size_hint
in addition when running on docker?
Also note that there is draft pullrequest with even stricter handling of memory management on docker and the like, however don’t know whether it is still worked on RFC: Avoid running out of memory by checking available memory before allocating by maleadt · Pull Request #46831 · JuliaLang/julia · GitHub