Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: memory problem


From   "Sarah Edgington" <[email protected]>
To   <[email protected]>
Subject   st: RE: memory problem
Date   Fri, 27 May 2011 10:38:33 -0700

.
I don't know if this is true across platforms and versions of Stata, but it
is the case that if you're working in windows with a 32 bit version of Stata
10 there's a trade-off between the maxvar setting and the mem setting.  If
you don't really have 30,000 variables try lowering maxvar and you may be
able to allocate more memory.  If you actually have 30,000 variables, you
might want to start by narrowing that down before trying to merge.
-Sarah


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Elizabeth Sheila
Germana
Sent: Friday, May 27, 2011 8:00 AM
To: [email protected]
Subject: st: memory problem

Hi, 
 
I'm encountering problems when I try to merge a file. 
 
My memory details and syntax are the following:
 
memory

set maxvar 30000
set mem 1g
set more off
                                                  bytes
--------------------------------------------------------------------
Details of set memory usage
    overhead (pointers)                           2,144        0.00%
    data                                     10,380,712        0.97%
                                        ----------------------------
    data + overhead                          10,382,856        0.97%
    free                                  1,063,358,960       99.03%
                                        ----------------------------
    Total allocated                       1,073,741,816      100.00%
--------------------------------------------------------------------
Other memory usage
    set maxvar usage                         12,001,730
    set matsize usage                         1,315,200
    programs, saved results, etc.             5,649,298
                                        ---------------
    Total                                    18,966,228
-------------------------------------------------------
Grand total                               1,092,708,044


I think that I have enough memory however, I have tried to extend  memory
more than 1g but I can't. 
What could be the problem?
 
Thanks for you help!

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index