Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Query dataset size


From   "Julian Reif" <[email protected]>
To   "Statalist \(E-mail\)" <[email protected]>
Subject   Re: st: Query dataset size
Date   Wed, 6 Dec 2006 10:48:36 -0500

Bill,

Thanks for the information.  The "data + overhead" number matches what is returned from -describe-.  However, it doesn't look like -memory- saves this value in r() either.  What does the r(N_cur) value represent?

Julian

On 12/5/06, William Gould, Stata <[email protected]> wrote:
> Julian Reif <[email protected]> asked,
>
> > Is there a Stata command available that returns the size of the dataset in
> > memory?  I am running a series of very long scripts at the same time on a
> > server and am performing an analysis to determine what the optimal memory
> > allocation should be for each series of scripts.  I know that the -describe-
> > command will tell you the size, but it does not return the value in a local
> > and I'd rather not go hunting through log files if possible.
>
> I suggest Julian try the -memory- command, which presents a report and leaves
> results behind in r().  The results are different that those reported by
> -describe- but they may be more in line with what Julian wants, as these
> numbers are more system related and include overhead.
>
> -- Bill
> [email protected]






*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index