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]
st: memory allocation and infile
From
Jimmy Jin <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: memory allocation and infile
Date
Wed, 9 Feb 2011 13:23:32 -0500
Hi all,
I'm fairly new to Stata so this might be an easy question to answer, but as I was reading in some raw SIPP data this morning I realized that, even though I had only allocated 700mb of memory to Stata/IC 11.0 (my machine is running XP with 2gb RAM), the application was handling input files of sizes up to 1.1gb with no problem. The outputted data sets are less than 700mb, of course.
I was using infile with a dictionary and was puzzled because I had thought that Stata always read the entire file into memory first.
What is going here? I understand that Stata reads Stata-format data sets into memory in their entirety, but does it read raw data with infile in a different way, perhaps line-by-line as in SAS?
Thanks,
Jimmy
*
* 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/