Skip to content

Commit

Permalink
Fix typo in Sys.total_memory docstring. (#53301)
Browse files Browse the repository at this point in the history
Fixes #53298.
  • Loading branch information
christiangnrd committed Feb 12, 2024
1 parent f8d5947 commit 81c6526
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 81c6526

Please sign in to comment.