microsoft / microsoft/vscode-cmake-tools
ERR_FS_FILE_TOO_LARGE Error
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
### Brief Issue Summary
I'm unable to Run CTest for a large UE4 project.
Error:
```
[rollbar] Unhandled exception: Unhandled Promise rejection: ctest RangeError [ERR_FS_FILE_TOO_LARGE]: File size (5645169608) is greater than 2 GiB {}
```
### CMake Tools Diagnostics
```shell
{
"os": "linux",
"vscodeVersion": "1.84.1",
"cmtVersion": "1.15.31",
"configurations": [
{
"folder": "/home/mohsen/repo/renderer-a2f",
"cmakeVersion": "3.27.7",
"configured": true,
"generator": "Ninja",
"usesPresets": false,
"compilers": {
"C": "/usr/bin/clang",
"CXX": "/usr/bin/clang++"
}
},
{
"folder": "/home/mohsen/repo/epic/ue4.27",
"cmakeVersion": "3.27.7",
"configured": false,
"generator": "Ninja",
"usesPresets": false,
"compilers": {}
}
],
"cpptoolsIntegration": {
"isReady": true,
"hasCodeModel": true,
"activeBuildType": "RelWithDebInfo",
"buildTypesSeen": [
"RelWithDebInfo"
],
"requests": [],
"responses": [],
"partialMatches": [],
"targetCount": 367,
"executablesCount": 23,
"librariesCount": 25,
"targets": []
},
"settings": [
{
"communicationMode": "automatic",
"useCMakePresets": "auto",
"configureOnOpen": true
},
{
"communicationMode": "automatic",
"useCMakePresets": "auto",
"configureOnOpen": true
}
]
}
```
### Debug Log
```shell
[build] Total time in Local executor: 17.12 seconds
[build] Total execution time: 35.37 seconds
[driver] Build completed: 00:01:20.942
[build] Build finished with exit code 0
[rollbar] Unhandled exception: Unhandled Promise rejection: ctest RangeError [ERR_FS_FILE_TOO_LARGE]: File size (5645169608) is greater than 2 GiB {}
```
### Additional Information
_No response_
Contributor guide
Research direction
Start by reproducing the CTest run in VS Code for the large UE4 project, using the supplied CMake Tools Diagnostics and Debug Log. Trace the ctest failure reporting the 2 GiB ERR_FS_FILE_TOO_LARGE limit; done means large test runs no longer fail with this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, typescript, unreal-engine
- Domain
- build-system, devtools, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100