add macOS handling for totalSystemMemory (#24903)

* add macos handling for totalSystemMemory

* fix return type cast for .freebsd in totalSystemMemory

* add handling for the whole Darwin family in totalSystemMemory
91040b5678Sardorbek Imomaliev committed on 8/25/2025, 7:25:53 PM· committed by GitHubparenta7769e2
1 file changedLine totals unavailable