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 while running edgesDemo.m: "Out of memory." #29

Closed
guyreading opened this issue Jan 11, 2019 · 1 comment
Closed

error while running edgesDemo.m: "Out of memory." #29

guyreading opened this issue Jan 11, 2019 · 1 comment

Comments

@guyreading
Copy link

I'm running this in R2014a.

After running edgesDemo, I get this error message:

Error using imPadMex
Out of memory. Type HELP MEMORY for your options.

Error in imPad (line 39)
J = imPadMex( I, pad, type );

Error in edgesDetect (line 52)
I = imPad(I,p,'symmetric');

Error in edgesDemo (line 26)
tic, E=edgesDetect(I,model); toc

I don't think it's a memory problem, however. I believe this because if I go into the edgesDemo.m code and adapt the 'peppers.png' image, called on line 24, to make it a 25:25:3 image (by adding a line at line 25, "I = I(1:25, 1:25, :);" it still outputs "Out of memory". Any ideas would be appreciated.

@guyreading
Copy link
Author

Found the issue (or at least, a solution). The solution was to re-download everything again but this time without running "toolboxCompile" after download.

I'm guessing the problem was the way the .cpp file had been incorrectly compiled & saved over .mexw64 during the toolboxCompile run. I had all the .mexw64 files, anyway, I'm running on 64-bit windows so didn't seem to need to run the toolboxCompile.

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

1 participant