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: memory allocation and infile

From   Jimmy Jin <>
To   "" <>
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?


*   For searches and help try:

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