This PR fixes #41384 . When using milvus client and compile on windows, the compilation failed with the undefined RSS error. On windows, the way to get memory used is the same as on darwin. Signed-off-by: Julien Salleyron <julien.salleyron@gmail.com>