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   Partha Deb <[email protected]>
To   Statalist <[email protected]>
Subject   st: out of memory/space error on Unix
Date   Sun, 11 Dec 2005 13:18:56 -0500

Hi all,

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. I suspect this because I've seen a similar problem using SAS on this machine. The workaround there was to add an option to redirect workspace to a different directory, e.g. sas -work ~/temp. I'm guessing there's a similar workaround for Stata. I do have a - cd ... - at the top of my do file, so if that automatically redirects workspace, this is "real" physical constraint.

Thanks in advance for all suggestions.

Cheers,

Partha



Current memory allocation
-------------------------

current memory usage
settable value description (1M = 1024k)
--------------------------------------------------------------------
set maxvar 5000 max. variables allowed 1.613M
set memory 120M max. data space 120.000M
set matsize 400 max. RHS vars in models 1.254M
-----------
122.867M
<snip>

. ml maximize, search(off)

ll_mmnl(): 3900 unable to allocate real <tmp>[287115,120]
<istmt>: - function returned error
r(3900);


************************************************************************
Partha Deb ph: (212) 772-5435
Department of Economics fax: (212) 772-5398
Hunter College http://urban.hunter.cuny.edu/~deb/

Emancipate yourselves from mental slavery
None but ourselves can free our minds.
- Bob Marley
************************************************************************
*
* 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