-
Notifications
You must be signed in to change notification settings - Fork 120
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
Insufficient memory issue on windows #12
Comments
It's crashing here (In DynamicProgram.cpp)- Ix.resize(nscales, vector3DMat(ncomponents)); And I have plenty of memory on my machine. |
It consumes 2G memory on my win7 x64... |
Could you provide the code? |
See my fork: Answeror@65001f6 |
@bnascimento I am running the example code that comes with the project. @Answeror - will try your fork and let you know. |
@sivavenkatay you running a 32 bit or 64 bit implementation? |
@Answeror will test your code then let you have some feedback.. |
@Answeror should your function be merged upstream ? If so, please make a pull request. |
I was successful in compiling the binary for windows (had to add export macros for the classes to generate the lib file).
But when I run the exe with a simple model, it runs until the convolution (and prints a convolution time) and then crashes with an error like this -
OpenCV Error: Insufficient memory (Failed to allocate 64244 bytes) in unknown fu
nction, file ......\src\opencv\modules\core\src\alloc.cpp, line 52
It fails with all images (small or large). Has anyone encountered this before?
The text was updated successfully, but these errors were encountered: