Statalist The Stata Listserver


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

Re: st: Query dataset size


From   "Austin Nichols" <[email protected]>
To   [email protected]
Subject   Re: st: Query dataset size
Date   Tue, 5 Dec 2006 09:50:00 -0500

e.g.
desc using `c(sysdir_stata)'auto.dta, sh
di (r(width)+4)*r(N) " bytes"

On 12/5/06, Austin Nichols <[email protected]> wrote:
Julian--
http://www.stata.com/support/faqs/data/howbig.html

On 12/5/06, Julian Reif <[email protected]> wrote:
> 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.
>
> Julian Reif
*
*   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