Memory Usage of the AP C
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:
- On Insights dashboard, under the Discover section, navigate to the troubleshooting index.
- Search using the
process.module.keyword: coreproviderfilter. - Navigate to the logs with description as Policy successfully loaded.
The
additional_info.memoryUsedfield depicts the policy size.

The following is the expected memory usage for different policy sizes used by the AP C application.
| Policy size | Process memory consumption |
|---|---|
| 14 MB | 42.13MB |
| 37 MB | 94.98 MB |
| 533 MB | 1.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.
Feedback
Was this page helpful?