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]

st: diagnose stata memory usage


From   Andrea Monti <ilsuonogiallo@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: diagnose stata memory usage
Date   Mon, 27 Dec 2010 12:43:52 +0100

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
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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index