You can find out how much available memory a system has with: code example Example: Ram usage in linux $ cat /proc/meminfo