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

JULIA_HEAP_SIZE_HINT ignored when provided via exported env variable #56694

Closed
alior101 opened this issue Nov 27, 2024 · 1 comment
Closed

JULIA_HEAP_SIZE_HINT ignored when provided via exported env variable #56694

alior101 opened this issue Nov 27, 2024 · 1 comment

Comments

@alior101
Copy link

alior101 commented Nov 27, 2024

On Julia 1.11.1

(base) lior@lap1969:~$ export JULIA_HEAP_SIZE_HINT="300M"
(base) lior@lap1969:~$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.11.1 (2024-10-16)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> @show Base.JLOptions().heap_size_hint
(Base.JLOptions()).heap_size_hint = 0x0000000000000000
0x0000000000000000

julia> 

It works fine when given as --heap-size-hint ..

@giordano
Copy link
Contributor

That's not particularly surprising since #55631 was merged 3 weeks ago and Julia v1.11.1 was released one month ago, besides the fact the feature freeze for the v1.11 series was almost one year ago and new features aren't typically backported. The variable will be available in Julia v1.12.

@giordano giordano closed this as not planned Won't fix, can't repro, duplicate, stale Nov 27, 2024
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

No branches or pull requests

2 participants