In some cases, a problem can arise when exhausting the memory usage of a typed memory pool, knowing how much is getting used and how much free memory is left proves useful.
A program is attached to this entry. Inside the code, the line char *typemem = "/memory/below4G/ram" is the name of the typed memory region you wish to test for remaining free memory, i.e. the program defaults to checking /memory/below4G/ram and prints the available memory.
The names of typed memory regions are derived directly from the names of the asinfo segments. To display the asinfo configuration, run pidin syspage=asinfo command.
Please refer to the documentation below for more details:
NOTE:
This entry has been validated against the SDP version listed above. Use
caution when considering this advice for any other SDP version. For
supported releases, please reach out toQNX Technical Support if you have any questions/concerns.
Please contact us with your questions or concerns.
BlackBerry uses cookies to help make our website better. Some of the cookies are necessary for the proper functioning of the website while others, non-essential cookies, are used to better understand how you interact with our website and to make it better.