15.11.2012 Views

Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys

Mechanical APDL Basic Analysis Guide - Ansys

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 21: Memory Management and Configuration<br />

space is where all internal calculations are done - element matrix formulation, equation solution, Boolean<br />

calculations, and so on. The default total work space for 64-bit machines is 1 GB (1024 MB), of which 512<br />

MB are assigned to database space, and 512 MB are assigned to scratch space. For 32-bit machines, the<br />

default work space is 512 MB, of which 256 MB are assigned to database space, and 256 MB are assigned<br />

to scratch space. (Part of the scratch space stores binary file buffers; see the description of NUM_BUFR later<br />

in this chapter.)<br />

Figure 21.2 ANSYS Work Space<br />

If your model database is too big to fit in the database space, the ANSYS program will first try to allocate<br />

additional memory to hold it (64-bit systems only). If it cannot, the program uses ANSYS virtual memory,<br />

which is, again, a portion of the hard disk used for data overflow. The main difference between system virtual<br />

memory and ANSYS virtual memory is that the former uses system functions to swap data between memory<br />

and disk, whereas the latter uses ANSYS programming instructions. The file used for ANSYS virtual memory<br />

is called the page file and has the name Jobname.PAGE. Its size depends entirely on the size of the database.<br />

When the page file is first written, the program issues a message to that effect. Use of the page file is not<br />

desirable because it is a less efficient way of processing data. You may be able to prevent it by allocating<br />

more database space (discussed in How and When to Perform Memory Management (p. 308)).<br />

If internal calculations can't fit in the scratch space, the ANSYS program will attempt to allocate additional<br />

memory to meet these requirements. If this occurs, you will see an alert message informing you that the<br />

problem has grown beyond the specified memory allocation and that ANSYS has allocated additional memory.<br />

In general, you should have enough real physical memory to comfortably run an ANSYS job. If you are using<br />

extra memory beyond physical memory only temporarily (such as for meshing or equation reordering), the<br />

performance impact from using virtual memory will be small. However, in a situation such as the matrix<br />

storage for the PCG solver exceeding physical memory, the performance can be as much as ten times slower<br />

for the solve command.<br />

21.3. How and When to Perform Memory Management<br />

Normally, there is no need to concern yourself with memory-management issues in ANSYS. The ANSYS<br />

memory manager can allocate extra memory from the system when it needs to in almost all cases.<br />

The following sections provide guidance as to when it is likely that you will need to use the -m command<br />

line option.<br />

21.3.1. Allocating Memory to ANSYS Manually<br />

21.3.2. Changing the Amount of ANSYS Work Space<br />

308<br />

Release 13.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information<br />

of ANSYS, Inc. and its subsidiaries and affiliates.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!