18.4.1. Memory Tuning the Samcef Solver

Memory settings for the Samcef solver are specified using the Manually specify Mechanical APDL solver memory settings option. The default value for the Workspace setting is 600 MB, and the default value for Database is 300 MB. The amount of memory allocated to the Samcef solver is determined by the following rules:

  • The value of the Workspace option is the total memory available to the solve process.

  • The Database memory cannot exceed 35% of the total system memory of the node. If it exceeds this value, it is reset to 35% of the total system memory.

  • If the processor architecture is 32-bit, the total memory available to the solve process cannot exceed 1 GB.

  • If Database is 0, Workbench automatically sets it to 300 MB.

  • If Workspace is 0, Workbench automatically sets it to twice the Database setting.

Before launching the Samcef executable, the SAM_ZONE environment variable is set to the value of the total memory (Workspace) in words, where 1 MB = 125000 words. The SAM_DBRAM environment variable is set to the ratio (in percent) between the Database and Workspace setting. The default value is 50%.