Memory Usage of the AP C

The memory usage in the AP C for different policy sizes with a sample.

The memory used for the different policy sizes using a sample AP C application is described in this section. This is a sample memory usage. You can use this as a reference for memory usage in the AP C for different policy sizes.

Sample application

For more information about the sample application, refer to samples installed in directory.

Expected memory usage

The process to find the policy size and expected memory usage for different policy sizes used by the C application is described in this section.

To find the policy size:

  1. On Insights dashboard, under the Discover section, navigate to the troubleshooting index.
  2. Search using the process.module.keyword: coreprovider filter.
  3. Navigate to the logs with description as Policy successfully loaded. The additional_info.memoryUsed field depicts the policy size.

Memory Usage

The following is the expected memory usage for different policy sizes used by the AP C application.

Policy sizeProcess memory consumption
14 MB42.13MB
37 MB94.98 MB
533 MB1.23 GB

The process memory increases substantially for a few milliseconds when the application is running in the following cases:

  • The policy is replaced with another policy
  • Changes are made in the current policy

Conclusion

The results for memory required by various policy sizes using the sample AP C application can be used to determine the memory requirements of the C application.


Last modified : August 25, 2026