Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[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" <lucaselastic@gmail.com>
To   statalist@hsphsun2.harvard.edu
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
<scott.merryman@gmail.com> 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
> <lucaselastic@gmail.com> 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index