Bookmark and Share

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

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

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

From   Scott Merryman <>
Subject   Re: st: RE: Memory usage in Stata 11 and 12
Date   Fri, 29 Jul 2011 11:51:49 -0500

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."


On Fri, Jul 29, 2011 at 11:03 AM, Samuel R. Lucas
<> 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:

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