Memory Tuning

The amount of physical RAM required for a scan depends on the complexity of the code. By default, Fortify Static Code Analyzer automatically allocates the memory it uses based on the physical memory available on the system. This is generally sufficient. As described in Output Options, you can adjust the Java heap size with the -Xmx command-line option.

This section describes suggestions for what you can do if you encounter OutOfMemory errors during the analysis.

Note: You can set the memory allocation options discussed in this section to run for all scans by setting the SCA_VM_OPTS environment variable.

This section contains the following topics: