Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: do variables not used in a process take up memory while a process runs?


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: do variables not used in a process take up memory while a process runs?
Date   Wed, 4 May 2011 16:58:50 +0100

Stata keeps all of the data in memory, so that the question is whether
you are near some limit. If you are, Stata often slooowwwwwwws right
down.

-keep-ing just the data you need might speed things up. It might be
irrelevant. It won't do any harm.

My visceral instinct is that using a stick is not going to help at all.

Nick

On Wed, May 4, 2011 at 4:03 PM, Doug Hess <douglasrhess@gmail.com> wrote:
>
> One question: I first -keep- only the variables in the model, does
> this speed things up? I.e., is Stata turning around in its head all
> the data in the database, or just those that are in the model as it
> runs the process?
>
> Second question: if I use a USB memory stick to "readyboost" the
> memory, does this help speed Stata up for such processes?
>
> I'm open to other thoughts. Or I am I better off dumping the results
> into other specialized software for hierarchical modeling? (No offense
> to Stata.)
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index