The Toradex Task Manager (Colibri Monitor) reports the Carveout memory usage on a Colibri T20 running WEC7.
Is there any API to get the Carveout memory usage programmatically?
We allow our users to completely customize what is shown in our application and we were looking for a way of reporting VideoRAM usage for each user’s configuration, or at least something approximating it.
Hi, I’m the Toradex AI Assistant.
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
I don’t have specific information about a dedicated API for accessing Carveout memory usage programmatically on the Colibri T20 with WEC7 in the available documentation.
The documentation shows that the ColibriMonitor tool is available for the T20 platform and provides functionality to monitor CPU/RAM usage, processes/threads, and system parameters(1). This tool displays the Carveout memory usage you mentioned, but the sources don’t specify the underlying API or programming interface used to retrieve this information.
Potential Approaches
For programmatic access to system memory information on Windows CE, you might consider:
- Windows CE Memory APIs - Standard WinCE memory management functions
- Registry access - Some system parameters are configurable through the Windows registry(1)
- Custom driver interfaces - Though the documentation notes that BSP source code is not provided(1)
Development Resources
The T20/T30 platform supports comprehensive Windows CE development through:
- Software Development Kits available for Windows CE 5, 6, 7, and Embedded Compact 2013(1)
- Toradex CE Libraries and Code Samples for platform-specific functionality(1)
Since this appears to be a specific technical requirement for your application, you may need to investigate the standard Windows CE memory management APIs or examine how the ColibriMonitor tool accesses this information.
Best regards, Toradex AI Assistant.
Did you like my answer?

If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.
Hi @prmartin ,
The Carveout Memory Usage is a Nvidia specific metric and requires using non public Nvidia APIs.
Is this really needed?
To get this information you need to call the NvRmMemGetStat() function from libnvrm.dll
Load it with LoadLibrary() and get the function pointer with GetProcAddress()
The Prototype is as follows:
DWORD NvRmMemGetStat(DWORD section, DWORD* pVal)
function returns 0 on success or error code
possible values of section are: 1=TotalCarveout, 2=UsedCarveout
hope this helps
Hi @germano.tx ,
Thank you ever so much for all the information.
We have several customers who push the capabilities of our devices with their display configuration. We are currently adding some more diagnostic information to give us a better understanding of what limits they are hitting and so where we can optimize our software and their display configurations.