A huge diagnostic specification file (CDD, ODX) may result in a huge test module with many CAPL files (e.g. more than 8). When starting the CANoe measurement you may get a window indicating Low on Memory.
From CANoe.DiVa 11.0 SP4 on, you may reduce the runtime memory consumption of the to-be-generated CANoe.DiVa test module. By increasing the size of each generated CAPL file you may get less CAPL files in total, which requires less memory during runtime. The CAPLfileSize can be edited in the .diva project file.
|RAM||# of CPU Cores||CAPLfileSize|
If there is still memory left, you may further increase the CAPLfileSize in order to further reduce the number of CAPL files. If this does not help and you either have 8GB RAM or you are running out of memory when compiling the test, please configure CANoe to only compile one CAPL file at a time. To do so edit CANoe's CAN.ini and set the MinUnitsForParallelCompile under the [Debug] part like following:
This allows you to further increase the CAPLfileSize (as above). The following values may be good for a start.
Check the available RAM (see above) while compiling the test module. If this still does not help you may try to further increase the CAPLfileSize step by step.
This results in longer total compilation time.