memoryInfo C++ class for getting memory information for system and process across different platforms