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 on April 23, 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   Hitesh Chandwani <chandwanihitesh@mail.utexas.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: do variables not used in a process take up memory while a process runs?
Date   Thu, 5 May 2011 11:24:44 -0500

I am a new user to Stata, but as far as I know, Stata is very RAM- heavy. Thus, using a USB stick will not help as it doesn't add to the RAM available. Try -set mem 2g- and see what happens. If you are using Stata default settings, then the memory might be an issue.


---------------------------------------------------
Hitesh S. Chandwani
Graduate Student,
Division of Pharmacy Administration,
University of Texas at Austin.
Cell: 512-461-4328



On May 4, 2011, at 10:03 AM, Doug Hess wrote:

I'm running models with 30 predictors on 150,00 records using
xtmelogit to examine random intercepts. As you can imagine this takes
a long time to run. I started a model last Thursday night (US east
coast)  and it didn't produce results until Queen Elizabeth II stepped
into Westminster Abbey Friday morning (perhaps propitious for my
research depending on your belief in the divine right of monarchs, but
it was nine hours after Stata started the process).

So, I'm looking for any tricks to speed things up (using Stata 11/IC
on a Windows 7 PC with 2.66 ghz Intel and 2.96gb RAM usable). I tried
the Laplacian option but it didn't seem to speed things up and I'm not
sure if the estimates are considered reliable, so to speak, if you use
that option.

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.)

Thank you.

Doug
*
*   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/

*
*   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