Updated on 2024-04-16 GMT+08:00

Selecting a User-defined Executor

When a code check task is run, default executor is used. If you have your own executors, you can customize an executor as required to solve problems in special compilation scenarios. Select an agent machine in the agent resource pool to execute the code check task without depending on the public execution resources provided by the service.

Table 1 lists the recommended specifications.

Currently, there is no unified and clear description for the association between the code check specifications and the number of code lines in the industry. Therefore, the specifications in this document are for reference only. If the specifications in the following table are used and the memory is still insufficient due to the specifications, you are advised to use an executor with higher specifications.

Table 1 Code check specification reference

Code Specifications (Unit: 10 Thousand Lines)

Executor Specifications

< 50

3 vCPUs, 6 GB

50-300

8 vCPUs, 16 GB

> 300

8 vCPUs, 64 GB

For details, see Configuring User-defined Executors.