![]() Use cd to get to the proper directory, then type: Open the Finder, find the data set, right-click (or Ctrl-click) on it, and choose Get Info. Alternatively, go to View and select Details, and you'll see how big all your files are. Open Windows Explorer, find the data set, right-click on it, and choose Properties. There are many ways to see how big a file on disk is, but here are a few: Windows But a data set takes up the same amount of space in memory as it does on disk. The number of observations or variables in your data set won't tell you that, since the amount of memory they take up varies. You only need to worry about memory if the size of your data set is close to the amount of memory in the computer you're using, and if it's bigger you definitely have a problem. But if you work with big datasets, you need to be careful: trying to use more memory than you have will end badly, and if you're working on one of SSCC's servers it will affect everyone else who is using that server. Fortunately, laptops today have more memory than most servers did 20 years ago, and most people never have to worry about how much memory Stata is using. ![]() When you work with a data set in Stata, Stata must load the entire data set into the computer's memory (RAM). How to work with big datasets in Stata without running out of memory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |