Sample Applications Run out of Memory

Problem : If the system's virtual memory is too small, the sample applications may fail.

  1. Open samples-vs05.sln or samples-vs08.sln
  2. Build the solution using the default settings (Debug - Win32 configuration)
  3. Run the sample (Debug >> Run Without Debugging)
  4. Some samples will fail with one of the following error messages
    • "Debug Error! This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information."
    • "CT: Out of memory"

Environment : All Supported Microsoft Windows* operating systems

Root Cause : By default, the sample applications use a heap size from 128MB to 512MB, depending on the workload. Intel's Ct Technology requires a minimum of 2GB RAM, as listed in the release notes.

Resolution : Ensure that the target system meets the minimum system requirements of 2GB RAM. Use the environment variable CT_RT_OPTIONS to set the initial and maximum heap size. For example, CT_RT_OPTIONS=AMM:init=512m,AMM:max=1024m

Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.