@@@@Platform-“OnPrem”

@@@@Product-“Database”

@@@@ReleaseVersion-“26.11”

@@@@info-map-label-“Limit the Maximum Amount of Memory Used by Oracle Trace File Analyzer”

Limit the Maximum Amount of Memory Used by Oracle Trace File Analyzer

You can now limit the amount of memory used by Oracle Trace File Analyzer.

Note: This feature is available only on Linux and only when Autonomous Health Framework is installed using a full installation by the root user.

Memory can be limited between 150 MB and 2GB or 25% of system memory, whichever is lower. By default, memory limits are enabled and set to the maximum.

There are various use cases including the following when Oracle Trace File Analyzer resource limits apply:

Memory can be limited at either the system level using ahfctl setresourcelimit -resource kmem or combined system and swap memory using ahfctl setresourcelimit -resource swmem

For example:

To limit the memory usage to only 1 GB of system memory run:

ahfctl setresourcelimit -resource kmem -value 1024

Alternatively, to limit the combined total of system memory and the swap memory to 2 GB run:

ahfctl setresourcelimit -resource swmem -value 2048