Is there a portable way that works on both .Net and Mono in various supported operating systems for the program to find out how much RAM (i.e. physical non-virtual memory) is available on the computer on which it works?
Context is a program whose memory requirement is βas large as possibleβ; he should know how much memory he should strive to allocate without stopping at the swap (thereby stopping and blocking the entire machine).
source
share