Dear All,
is there any way to programmatically access the values reported by the Stata's built-in command memory?
1. I know creturn list report some relevant values, but not exactly and not all in the "memory settings" and "current dataset" sub-sections.
2. I also understand that I could dump the output of memory to a log, and try to parse it back, but I am looking for a more elegant way of doing this.
Thank you, Sergiy
is there any way to programmatically access the values reported by the Stata's built-in command memory?
Code:
Memory usage Used Allocated ---------------------------------------------------------------------- Data 60,642,000 134,217,728 strLs 0 0 ---------------------------------------------------------------------- Data & strLs 60,642,000 134,217,728 ---------------------------------------------------------------------- Data & strLs 60,642,000 134,217,728 Variable names, %fmts, ... 7,146 46,970 Overhead 5,275,664 5,276,440 Stata matrices 0 0 ado-files 55,031 55,031 Stored results 3,780 3,780 Mata matrices 136,000 136,000 Mata functions 32,096 32,096 set maxvar usage 5,281,738 5,281,738 Other 30,924 30,924 ---------------------------------------------------------------------- Total 71,304,531 145,080,707 .
1. I know creturn list report some relevant values, but not exactly and not all in the "memory settings" and "current dataset" sub-sections.
2. I also understand that I could dump the output of memory to a log, and try to parse it back, but I am looking for a more elegant way of doing this.
Thank you, Sergiy