# V006. File cannot be processed. Analysis aborted by timeout.

The analyzer generates the V006 message when it cannot process a file in the given time and has to abort.

Reasons

The first possible reason is an internal analyzer error that prevents it from parsing some code fragment. It happens rather seldom, yet it is possible. Although V006 appears infrequently, we would appreciate your help in identifying the issue that triggered it. If you work with C/C++ projects, please send us the preprocessed `i` file where this issue occurs and its corresponding configuration startup files (`*.PVS-Studio.cfg` and `*.PVS-Studio.cmd`) via the feedback form.

Note. A preprocessed `i` file is generated from a source file (for example, `file.cpp`) after preprocessor's execution. To get the preprocessed file and startup configuration files, in the Common Analyzer Settings tab of the PVS-Studio settings, set the RemoveIntermediateFiles option to False and restart the analysis of this file. After that, find the corresponding `i` file in the project folder (for example, `file.i` and its corresponding `file.PVS-Studio.cfg` and `file.PVS-Studio.cmd`).

The second possible reason is insufficient system resources due to CPU load. Although the analyzer could process the file correctly, it cannot do it in the given time. By default, the number of threads for analysis is equal to the number of processor cores. For example, if we have four cores in our machine, the tool will start analysis of four files at once. Each instance of the analyzer's process requires about 1.5 GB of memory. If the computer does not have enough memory, the tool will start using the swap file, which can slow down the analysis and cause it to exceed the allowed time limit. If there are other resource-consuming applications running on the computer besides the analyzer, this may also contribute to the problem.

We would recommend explicitly indicating the number of cores to be used for analysis in PVS-Studio > Common Analyzer Settings > ThreadCount.