VINS-Fisheye icon indicating copy to clipboard operation
VINS-Fisheye copied to clipboard

out of memory in function 'allocate'

Open DavidNY123 opened this issue 2 years ago • 4 comments

terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(3.4.13) /home/mwy/opencv-3.4.13/modules/core/src/cuda/gpu_mat.cu:116: error: (-217:Gpu API call) out of memory in function 'allocate'

[vins_estimator-2] process has died [pid 9483, exit code -6, cmd /home/mwy/VINS-fisheye/devel/lib/vins/vins_node __name:=vins_estimator __log:=/home/mwy/.ros/log/75ebd7e2-4bff-11ec-9015-9061ae86e6b5/vins_estimator-2.log]. log file: /home/mwy/.ros/log/75ebd7e2-4bff-11ec-9015-9061ae86e6b5/vins_estimator-2*.log

How to solve this problem?

DavidNY123 avatar Nov 23 '21 01:11 DavidNY123

My GPU is NVIDIA GeForce GTX 1050/PCIe/SSE2 2GB

DavidNY123 avatar Nov 23 '21 09:11 DavidNY123

@DavidNY123 It's a GPU driver issue. You may double-check your system setup.

xuhao1 avatar Mar 17 '22 10:03 xuhao1

@DavidNY123 It's a GPU driver issue. You may double-check your system setup. Hi, when I set "flow_back: 0", I found the problem disappeared and code works well.

DavidNY123 avatar Mar 17 '22 11:03 DavidNY123

@DavidNY123 flow_back:0 will cause the front-end unstable, I do not recommend using this configuration...

xuhao1 avatar Mar 25 '22 14:03 xuhao1