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.