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