Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: OS memory availability


From   [email protected] (Kevin Turner)
To   [email protected]
Subject   st: Re: OS memory availability
Date   Tue, 30 Mar 2004 15:40:04 -0600

Fred Wolfe <[email protected]> writes:

>Thanks for the comments. I wrote the following program to try to get at the 
>issue. It reports back the level of memory that does not get an "op. sys. 
>refuses to provide memory" error.

Like Fred, I've placed -set mem- inside of a for loop and captured the highest
value that Stata can successfully allocate. I don't know if there is a way to
obtain the highest value apart from experimentation because the value is
not guaranteed to be constant over time. The reason for this is that, on 
Windows, it represents the largest _continuous_ free block of memory. As
programs request and free up portions of memory, this space can potentially
change in size.

However, if you want to dynamically find the amount of physical memory (like
David was asking) you can get this value using a DOS command. 




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index