Skip to content

Commit

Permalink
Fix typo in Sys.total_memory docstring.
Browse files Browse the repository at this point in the history
Fixes JuliaLang#53298.

Can someone with the right permissions add a backport 1.10 label?
  • Loading branch information
christiangnrd authored Feb 12, 2024
1 parent 29a58d5 commit c7d64ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/sysinfo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ free_memory() = ccall(:uv_get_available_memory, UInt64, ())
Get the total memory in RAM (including that which is currently used) in bytes.
This amount may be constrained, e.g., by Linux control groups. For the unconstrained
amount, see `Sys.physical_memory()`.
amount, see `Sys.total_physical_memory()`.
"""
function total_memory()
constrained = ccall(:uv_get_constrained_memory, UInt64, ())
Expand Down

0 comments on commit c7d64ef

Please sign in to comment.