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

st: out of memory/space error on Unix


From   Kit Baum <[email protected]>
To   [email protected]
Subject   st: out of memory/space error on Unix
Date   Sun, 11 Dec 2005 17:12:42 -0500

Partha wrote

I'm running in to a memory/virtual memory (space) limit running Stata SE 9
on a Sun Box running Solaris. The machine has 8GB of RAM and plenty of
free disk space, but I get a "3900 unable to allocate real
<tmp>[287115,120]" error. I've pasted relevant bits of the log below.

My own diagnosis is that this is not a problem of a real lack of memory or
disk space to allocate for virtual memory, but indeed that there is problem
with the space limits in the Stata directory.


Stata obeys the Unix environment variable TMPDIR. On our Sun, the / tmp directory was routinely too small. The solution is to set up a definition in your .profile (or whatever your shell autoexec is) which sets the value of TMPDIR to a directory with plenty of space. (It is not the Stata directory, e.g. /usr/local/stata, which is the problem).

On my (non-Solaris) Unix machine,

. di "`r(tmpdir)'"
/tmp/


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


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