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]

From |
Kit Baum <baum@bc.edu> |

To |
statalist@hsphsun2.harvard.edu |

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/

**Follow-Ups**:**RE: st: RE: Error Message: r3900 - Problem with Memory of my Computer system ?!***From:*"Martin Weiss" <martin.weiss1@gmx.de>

- Prev by Date:
**st: RE: RE: RE: RE: Error Message: r3900 - Problem with Memory of my Computer system ?!** - Next by Date:
**Re: AW: st: replace-all can crash do-file** - Previous by thread:
**st: RE: RE: RE: RE: Error Message: r3900 - Problem with Memory of my Computer system ?!** - Next by thread:
**RE: st: RE: Error Message: r3900 - Problem with Memory of my Computer system ?!** - Index(es):