网上说换到64位,有没有32位的解决办法?
,转到release模式下,就报:OpenCV Error: Insufficient memory (Failed to allocate 2421502776 bytes) in cv::OutOfMemoryError, file C:\builds\master_PackSlave-win32-vc11-shared\opencv\modules\core\src\alloc.cpp, line 52 OpenCV Error: Assertion failed (u != 0) in cv::Mat::create, file C:\builds\master_PackSlave-win32-vc11-shared\opencv\modules\core\src\matrix.cpp, line 411
OpenCV Error: Insufficient memory
根本原因是内存不足
因为32bit系统每个进程只能使用2GB内存,如果你物理内存足够而还是不行,就是只能换64bit系统。
如果你物理内存小于4G不行,那么增加内存。