isLowOnMem

Check for any kind of memory pressure.

version(Windows) nothrow @nogc
bool
isLowOnMem
(
size_t mapped
)

Parameters

mapped
Type: size_t

the amount of memory mapped by the GC in bytes

Return Value

Type: bool

true if memory is scarce

Suggestion Box / Bug Report