GetTotalMemory()

GC::GetTotalMemory(bool) method

Returns the number of bytes of private memory currently allocated by the current process.

static int64_t System::GC::GetTotalMemory(bool force_full_collection)

Arguments

ParameterTypeDescription
force_full_collectionboolIGNORED

Return Value

The number of bytes of private memory currently allocated by the current process.

See Also