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

Re: st: maximum memory size


From   Fabio Berton <f.berton@labor-torino.it>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: maximum memory size
Date   Fri, 20 Jun 2003 11:15:53 +0200

At 04.10 20/06/2003 +0800, you wrote:
Hi there,

my problem is about maximum memory size stata can handle.

I tried to run the Nested logit command using stata.
my dataset consist of 15000 people and each with 77
choices. the dataset is about 200m. When I try to
run the program nlogit, it says that there is no room to add more variables due to width
You have the following alternatives:
1. Store existing variables more efficiently;
see help compress.
2. Drop some variables or observations; see help
drop. (Think of Stata's data area as the area of a
rectangle; Stata can trade off width and length.)
3. Increase the amount of memory allocated to
the data area using the set memory command; see help
memory.
r(902);


I compressed all the variable and set memory to 600m
which is the maximum that my OS would allow, it still
can't work.

What is the limit number of obs stata can handle?

I wonder if there is other ways of increasing memory
to make the program run.

thanks
I think that's not a problem of number of observations, but of total amount of RAM memory.

If you're on a Windows OS computer, it may be a problem of fragmented memory: you can look on the net (for example mindbeat.com) for a RAM defrag tool (STATA needs not fragmented areas of RAM mem).

On the other hand you can also increase the total amount of virtual memory in your computer (see -set virtual on/off- for an efficient use of virtual mem in stata), and use it, but all processes will get slower.

Probably the best would be add new RAM mem slots on the machine!

Best rgds, Fabio.


Fabio Berton
LABORatorio Riccardo Revelli - Center for Employment Studies
via Real Collegio, 30
10024 Moncalieri (TO)
em: f.berton@labor-torino.it
web: www.labor-torino.it
Phone: +39 011 640 2659/2660
Fax: +39 011 647 9643

*
* 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index