Indiana University
University Information Technology Services
  
What are archived documents?

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 information 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.

Also see:

This is document aexr in domain all.
Last modified on October 25, 2007.
Please tell us, did you find the answer to your question?