Figure 21.4: Dividing Work Space
ANSYS Work Space = 512 MB
256 MB 256 MB
Database Space Scratch Space
128 MB 384 MB
Database Space Scratch Space
384 MB 128 MB
Database Space Scratch Space
Allocating more database space leaves less for scrat ch space, and vice versa.
Although all of the above diagrams correspond to a -m value of 512 MB, their -db values correspond
to 256, 128 and 384 MB, respectively.
You may need to control the amount of database space differently in these situations:
- When you are about to solve a large model and the memory requirements are close to your system's
memory limits. For this situation, run the solution phase as a batch job with minimal -db space (e.g.,
64 MB). Note that to insure enough scrat ch space, you should use a negative value (for example,-db
-64) to prevent the program from allocating additional memory required to hold the database. By
reducing the amount of database space, you will increase the amount of memory available for scratch
space during solution. Before postprocessing, increase the -db and resume the jobname.db file
and run interactively. - On 32-bit systems, when you see the message about the page file (Jobname.PAGE) being written.
This means that the database space is too small for your model, so you should increase it.Be aware,
though, that increasing the database space decreases scratch space, so you also may want to increase
total work space if you plan to do memory-intensive operations.
21.4. Using the Configuration File
When you execute the program, it reads a configuration file,config150.ans, if one exists. This file
controls system-dependent settings such as the size of each file buffer, maximum number of database
pages in memory, etc.
Release 15.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information
Using the Configuration File