Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

re:st: RE: Error Message: r3900 - Problem with Memory of my Computer system ?!


From   Kit Baum <[email protected]>
To   [email protected]
Subject   re:st: RE: Error Message: r3900 - Problem with Memory of my Computer system ?!
Date   Sun, 16 May 2010 07:29:05 -0400

<>
Pascal said

Martin gave me the extremely helpful advice to use the „cmp“ command to
implement a three-stage selection model. So far it works fine. However, when
modeling the three-stage system with two selection equations and 1,000,000
observations I get the following error message when cmp tries to estimate
the combined model:

<istmt>:  3900  unable to allocate real <tmp>[1224521,46]
r(3900);

I already allocated the maximum memory (1000m) and matsize (10,000) to
STATA. I still get this error message.

So you have an idea how to solve the memory problem?

By my calculations that single matrix is about 4.2 Gb, so unless you have access to a system where you can allocate
5 or 6 Gb to Stata, you have no hope of solving this problem. What happens if you try to estimate the model with
10000 observations rather than a  million?

Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
                              An Introduction to Stata Programming  |   http://www.stata-press.com/books/isp.html
   An Introduction to Modern Econometrics Using Stata  |   http://www.stata-press.com/books/imeus.html


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index