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: diagnose stata memory usage
From
Sergiy Radyakin <[email protected]>
To
[email protected]
Subject
Re: st: diagnose stata memory usage
Date
Mon, 27 Dec 2010 17:14:19 -0500
On Mon, Dec 27, 2010 at 6:43 AM, Andrea Monti <[email protected]> wrote:
> Hi all,
>
> I am trying to understand how Stata uses memory to correct some "op
> sys refuses to give memory" errors.
>
> I am using Stata/SE 11.0 on Windows XP SP3 32 bit and sometimes my
> do-files end with "op sys refuses to give memory" even on very small
> dataset.
>
> I am subject to the 2-GB limit and I am using small dataset, so I
2gb is a theoretical max subject to many additional practical circumstances.
If you are working with small datasets, don't set mem 2gb, instead set mem to
a reasonably low amount, e.g. 500m.
Best, Sergiy Radyakin.
> suppose that using "set memory some_high_value" will not be useful: it
> should allocate unneeded tons of memory for a small dataset, leaving a
> very small ( 2 GB - some_high_value ) working space for alla stata
> calculations.
>
> I do not understand why Stata is using so much memory. Is there a way
> to diagnose what stata is using memory for ?
>
> thanks,
>
> andrea
> *
> * 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/