please help me with this problem java.lang.OutOfMemoryError, OpenCV Error: Insufficient memory

asked 2013-03-13 01:09:21 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

java.lang.OutOfMemoryError OpenCV Error: Insufficient memory (Failed to allocate 2073604 bytes) in unknown function, file ......\src\opencv\modules\core\src\alloc.cpp, line 52 Exception in thread "Thread-4" java.lang.RuntimeException: ......\src\opencv\modules\core\src\alloc.cpp:52: error: (-4) Failed to allocate 2073604 bytes

at com.googlecode.javacv.cpp.opencv_imgproc.medianBlur(Native Method)
at vidtracking.MainView.backgroundSubtraction(MainView.java:633)
at vidtracking.MainView.access$1000(MainView.java:32)
at vidtracking.MainView$8.run(MainView.java:496)
edit retag flag offensive close merge delete