Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: out of space/memory error on Unix


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: Re: out of space/memory error on Unix
Date   Mon, 12 Dec 2005 09:26:09 -0500

I wonder if this Mata error message is the equivalent of the regular Stata error message "op.sys. refuses to provide memory." Since such a matrix would have 34.5 million cells, it would require ~275 megabytes. Although this is far below any limit Mata would impose (Mata allows 2+ billion rows and 2+ billion columns) your machine may not be willing to satisfy the memory request.

Kit Baum, Boston College Economics
http://ideas.repec.org/e/pba1.html


On Dec 12, 2005, at 2:33 AM, statalist-digest wrote:


Thanks to Kit for both suggestions -tmpdir-, which I've now installed, and
the Stata FAQ, which I should have found. I've managed to change the
tmpdir from /tmp to something in my user, for which the limit is only the
physical hard disk space, but I'm not sure I've solved the problem. I
still get the same error message - "3900 unable to allocate real
<tmp>[287115,120]". I wonder if mentioning that the "problem" is almost
certainly due to a Mata matrix (287115X120) is worth anything.
*
*   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