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   Nick Cox <>
Subject   Re: st: RE: Memory usage in Stata 11 and 12
Date   Fri, 29 Jul 2011 11:28:51 +0100

Sorry, but I don't purport to advise specifically on detailed memory
issues. For one, I am not expert on hardware, operating systems,
networks, servers, etc. For two, such matters depend so much on
details that you are best off consulting someone with the same kind of
set-up as you who knows exactly what you are talking about -- and/or
Stata technical support.

That said, -set memory- is gone in Stata 12. It can remain important
for performance that you reduce memory usage where possible; that's
always been true. But Stata 12 can't give you memory you don't have
available. I've said as much three times now!


On Fri, Jul 29, 2011 at 11:12 AM, Mauro Mastrogiacomo
<> wrote:
> Nick, relate to this.
> You say that stata 12 now has an automatic memory management. I am about to activate Stata 12 also. Say that in Stata 12 you set the memory to 900m (to use a big file for instance), and that after some manipulations in your do file you manage to reduce the needed memory, does stata 12 automatically manage to reduce the memory that is being reserved?
> The allocation of large memory with set mem is problematic when users access stata from a server, as the unused reserved memory might prevent other users to allocate memory also.
> Mauro
> -----Original Message-----
> From: [] On Behalf Of Nick Cox
> Sent: vrijdag 29 juli 2011 12:01
> To:
> Subject: Re: st: RE: Memory usage in Stata 11 and 12
> As I said, my impression is that there is no difference, as nothing in
> Stata 12 changes Windows, but I would want StataCorp to give the
> definitive statement on that.
> On Fri, Jul 29, 2011 at 10:54 AM, roland andersson
> <> wrote:
>> So my question is the effects of this new automatic memory management
>> in terms of maximum size of available memory for data compared to
>> Stata 11 given the RAM installed.
>> Roland
>> 2011/7/29 Nick Cox <>:
>>> No "seems" about it! Stata 12 has automatic memory management. But
>>> whatever limitations Windows imposes are limitations that remain.
>>> Nick
>>> On Fri, Jul 29, 2011 at 10:01 AM, roland andersson
>>> <> wrote:
>>>> Thank you Jan
>>>> This answers my first question. I was aware of the limits of 32-bit OS
>>>> but thought it was larger than 2.1GB. I obviously have more memory
>>>> available which I thought would have at least some impact as WinXP 32
>>>> bit can adress 4GB.
>>>> I think there are possibilities to force Windows XP to load processes
>>>> during the boot-process to upper memory in a better fashion, ie the
>>>> /3GB parameter in boot.ini but would like an advice by someone more
>>>> experienced before I start experimenting.
>>>> Now waiting for information about Stata 12 as it seems to use memory
>>>> differently than previous version.
>>>> Regards
>>>> Roland Andersson
>>>> 2011/7/29 Jan Bryla <>:
>>>>> See as a start.
>>>>> /Jan
>>>>> -----Original Message-----
>>>>> From: [] On Behalf Of roland andersson
>>>>> Sent: 29. juli 2011 09:03
>>>>> To:
>>>>> Subject: st: Memory usage in Stata 11 and 12
>>>>> I found 1 MB of memory laying around at home and upgraded my laptop
>>>>> Lenovo T400 from 2 GB to 3 GB RAM. However, this did not have any
>>>>> effect on the available memory for Stata11. I could adress 1200 MB
>>>>> both before and after the upgrade. I am using Windows XP 32-bit.
>>>>> Is there any utility for windows that can help me find a way to make
>>>>> more room for Stata? I know that I can use msconfig to block out some
>>>>> processes, but it is difficult to know what processes that is not
>>>>> necessary. I would rather have a utility that can decide where the
>>>>> processes are loaded. Another possibility would be to load Stata early
>>>>> during the boot process. Is that possible?
>>>>> I have also had the experience that Stata had less memory available
>>>>> after upgrading from Stata 9 to Stata 11. I wonder if Stata 12 is more
>>>>> efficient in memory usage? If I upgrade will I have more, or less,
>>>>> memory available for data, or does Stata still need uninterrupetd
>>>>> memoryblocks?
>>> *

*   For searches and help try:

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