Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

out of memory in function 'allocate' #16

Open
DavidNY123 opened this issue Nov 23, 2021 · 4 comments
Open

out of memory in function 'allocate' #16

DavidNY123 opened this issue Nov 23, 2021 · 4 comments

Comments

@DavidNY123
Copy link

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
Copy link
Author

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

@xuhao1
Copy link
Owner

xuhao1 commented Mar 17, 2022

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

@DavidNY123
Copy link
Author

@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.

@xuhao1
Copy link
Owner

xuhao1 commented Mar 25, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants