Insufficient memory on x86 build

Last modified by Lev Andronov on 2025/05/19 12:19

Insufficient memory issue on Windows 10 (32 bit) using Vision Point 32 bit build (memory is needed not only for DMA stream itself but also for rendering engine) may cause a splash screen problem using our Chameleon Camera Simulator.

The solution consists of 2 parts:

  1. Adding an option to Vision Point 32 bit build process that produces software able to utilize more than 2 GB memory (which is default without this option). Starting from Vision Point, 5.0.0.5316 version found here, when starting acquisition process, a log record that reports memory status was added and can be found in the log file as "ullTotalVirtual." For example, a record saying "ullTotalVirtual==2147352576".
  2. The following option is added to Windows to allow large memory allocations for user applications. Start 'cmd' with administrative privileges and run the command "BCDEdit /set increaseuserva 3072". The BCDEdit /set increaseuserva Megabytes command can specify any value between 2048 (2 GB) and 3072 (3 GB) megabytes in decimal notation (extended information at the microsoft learn portal).

After rebooting Windows and rerunning Vision Point acquisition, please open a new log file and search for word "ullTotalVirtual". With that 'increaseuserva' option set one should see "ullTotalVirtual==3221094400".

References:

KAYA Instruments © 2024. All Rights Reserved.