Is there a good way to determine total RAM memory in the computer a Stata program is using?
Some shell commands provide this information for specific platforms, as I find from an Internet search, but I am unsure which shell commands would work reliably across newer and older system versions (and my expertise with complex shell commands is limited).
I am interested in doing this for Stata 11 through 14, on all platforms (Windows/Mac/Unix).
My goal is to adapt program behavior if Stata is in danger of exceeding available RAM.
Some shell commands provide this information for specific platforms, as I find from an Internet search, but I am unsure which shell commands would work reliably across newer and older system versions (and my expertise with complex shell commands is limited).
I am interested in doing this for Stata 11 through 14, on all platforms (Windows/Mac/Unix).
My goal is to adapt program behavior if Stata is in danger of exceeding available RAM.
Comment