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]

st: diagnose stata memory usage

From   Andrea Monti <>
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

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

I do not understand why Stata is using so much memory. Is there a way
to diagnose what stata is using memory for ?


*   For searches and help try:

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