-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
If you clone the repo, then have an issue with the colmap env variable pathing. You may trigger memory overflow on your system causing the OS to emergency shutdown because the RAM was consumed.
The code system calls so much that I think too many system calls occurs with Path resolution.
The install webrequest in the .bat:
@echo off
set cwd=%cd%
cd /D %~dp0
echo Downloading COLMAP...
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/colmap/colmap/releases/download/3.7/COLMAP-3.7-windows-no-cuda.zip', 'colmap.zip')"
echo Unzipping...
powershell Expand-Archive colmap.zip -DestinationPath ..\external\colmap -Force
echo Cleaning up...
if exist colmap.zip del /f /q colmap.zip
exit /b
The next system calls are probably then seeing a .bat file in path and resolving to create .bat processes since the downloaded colamp version contains a batch launcher file that temporarily modifies path to run colmap.exe. I am assuming that the functions for colmap are solved repeated through this batch file triggering memory overflow.
The actual fatal error was lack of memory for graphics driver:
The computer has rebooted from a bugcheck. The bugcheck was: 0x00000116 (0xffffe508cf2dd2b0, 0xfffff806e7c54930, 0xffffffffc000009a, 0x0000000000000004). A dump was saved in: