Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Muct Dataset Memory Overflow.


I am using the MUCT dataset.

nSamples = 5828 nPixels = 90267 Total = 526076076 double cv::Mat AllTextures = cv::Mat::zeros(nSamples, nPixels, CV_64FC1);

Terminal Error. OpenCV Error: Insufficient memory (failed to allocate 4208612 bytes) in cv::OutOfMemoryError.

Visual Studio Dialog "Unhandled exception at at 0x75BBC41F in OpencvAAM.exe: Microsoft C++ exception: cv::Exception at memory location 0x003CCBE4."

Is there anything i can do about this other than cut back on data samples? Ultimately, this data needs to be handled, with PCA etc, so there will be more data further down the pipeline?

System Information

OpenCV 2.4.8.

Visual Studio 2012

Windows 7

System RAM 4.0Gb

Virtual Memory 4567Mb