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

Error using vertcat Out of memory. Type HELP MEMORY for your options. #7

Open
yuanliang861 opened this issue Oct 8, 2019 · 1 comment

Comments

@yuanliang861
Copy link

When I run main.m using boxes_6dof I met this problem.
`
Error using vertcat
Out of memory. Type HELP MEMORY for your options.

Error in undistort_events (line 53)
undistorted_events = [x_u; y_u; events(3:4, valid_points)];

Error in main (line 57)
events_zeroed = undistort_events(...
`
My machine : 8GiB memory and 10GiB Swap space. I want to know if there is something wrong when I run the code or this project need more memory.

@alexzzhu
Copy link
Contributor

Can you try running this on a smaller sequence? I haven't run into this issue before, but it is true that MATLAB will read the entire file into memory which is less than ideal.

Also, can you run a top and check how much memory is available after factoring in your other processes?

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