For POSIX systems, it uses sysconf. For Windows, it uses the win32 API
directly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
Comment Actions
This currently triggers a warning about using ui in util, so consider this a RFC for dealing with that.
nit: can fail by returning None -> if we fails to calculate the memory, None is returned.