The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
os_physical_mem
rt
sys
posix
osmemory
Get the size of available physical memory
version(Posix)
nothrow @
nogc
static if
(
usePosix_osmemory_os_physical_mem
)
ulong
os_physical_mem
(
)
Return Value
Type:
ulong
size of installed physical RAM
Meta
Source
See Implementation
rt
sys
posix
osmemory
enums
ChildStatus
functions
getPageSize
isLowOnMem
os_physical_mem
wait_pid
Get the size of available physical memory