Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

Why can't Stata read all the observations in my data set?

Stata loads your data set into memory (including virtual memory) before beginning an analysis, but it does not automatically use all the memory available in your computer. The default memory size for Stata/SE is 50MB; for Stata/IC it is 10MB.

If you have only a small amount of memory assigned and a large data set to read, Stata might give you a warning message such as:

"No room to add more observations"

If this happens, you will need to increase the memory size using the . set memory command, for example:

. set memory 100m

Note: The 100m means 100MB.

To check the current memory available to Stata, enter:

. memory

Note: Increasing memory size does not always improve the overall performance of Stata. The optimal memory size depends both upon computing resources and upon the size of the data set.

For more about statistical and mathematical software, email the UITS Stat/Math Center, visit the center's web page, or phone 812-855-4724 (IUB) or 317-278-4740 (IUPUI). The center is located in Bloomington at 410 N. Park Avenue, and is open for consultation by appointment Monday-Friday 9am-5pm.

This is document aluq in domain all.
Last modified on May 04, 2011.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.