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]

Re: st: RE: Memory usage in Stata 11 and 12


From   "Samuel R. Lucas" <[email protected]>
To   [email protected]
Subject   Re: st: RE: Memory usage in Stata 11 and 12
Date   Fri, 29 Jul 2011 10:06:54 -0700

This provides the functionality I was seeking.  I presume this runs in
a do-file.  If so, then -set min_memory- seems just a different syntax
for what (I thought) -set mem- did.  If so, then it is not quite right
to say that -set mem- is gone from stata 12.  If so, it isn't gone,
just re-named.  My concern is allayed.

Thanks a bunch.
Sam

On Fri, Jul 29, 2011 at 9:51 AM, Scott Merryman
<[email protected]> wrote:
> This is addressed in the -set min_memory- option:
>
>        set max_memory  amt [, permanently]
>        set min_memory  amt [, permanently]
>
>
>      "12.  min_memory specifies an amount of memory Stata will not fall below.
>          For instance, you have a long do-file.  You know that late in the
>          do-file, you will need 8 gigabytes.  You want to ensure that the
>          memory will be available later.  At the start of your do-file, you set
>          min_memory 8g."
>
>
> Scott
>
>
> On Fri, Jul 29, 2011 at 11:03 AM, Samuel R. Lucas
> <[email protected]> wrote:
>> Any chance -set memory- can be returned to stata 12.x?  I do not
>> understand a move that reduces user's control.  If someone allocates
>> more memory than they have, stata should just error out and inform
>> them as in the past.  That happening right at the start of a job is
>> actually helpful.
>>
>> The big advantage of -set mem- is one can set it for a specific job
>> and then know that as one does other things, stata can still run
>> because it has the memory it needs.
>
> *
> *   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