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

ARCHIVED: In SPSS for Unix, how do I increase the workspace (memory)?

Use the -s parameter to increase the workspace allocation for your SPSS job in Unix. (The workspace is the number of bytes of system memory allocated to working storage space for your job.)

To increase the workspace allocated to a noninteractive job, use the following command:

spss -m -s workspace <inputfile >outputfile

Replace workspace with an appropriate amount of storage space (e.g., 800k, 100k, 2M).

Note: Be sure to use lowercase k for kilobyte, and uppercase M for megabyte.

Replace inputfile with the name of your file containing SPSS commands. Replace outputfile with the name of the file you wish to create for your job's output. For example, suppose you have an input file called regres.sps. To execute the job with 800KB of workspace memory, submit the job with this command:

spss -m -s 800k <regres.sps >regres.out

The output file created in this example will be called regres.out. The option -s 800k increases the workspace.

You can also use the -s parameter to increase the workspace available for interactive SPSS sessions, for example:

spss -m -s 600k

In this example, 600KB of memory is allocated for your interactive SPSS session.

For more information, see John Samuel's Getting Started with SPSS for Unix.

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 aexr in domain all.
Last modified on March 22, 2010.

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.