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
6f07cc95d0Sardorbek Imomaliev committed on 8/25/2025, 10:11:34 PM· committed by Alex Rønne Petersenparentb257832
1 file changedLine totals unavailable