title: Failed to allocate bytes in large images OpenCV
body: <p>I am processing very large images but I get an exception that informs me "Failed to allocate 991623040 bytes"</p>
  
  <p>I have 64bit Win7 and 8GB ram. Isn't it ridiculus that failing when smaller than 1GB?</p>
  
  <p>How can I solve this problem? </p>
  
  <pre><code>public bresenhamCircle()
      {
          if (path != null) //path is a string represents the file path
          {
              using (IplImage orgImg = new IplImage(rc.imgeYolu, LoadMode.GrayScale))
              {
                  if (rc.sekizBit)
                  {
                      orgImg.ToBitmap();
                  }
                  else
                  {
                      //binary image
                  }
  
                  using (IplImage imgLabel = new IplImage(orgImg.Size, BitDepth.F32, 1))
                  {
                      using (CvBlobs blobs = new CvBlobs())
                      {
  
  
                          uint result = blobs.Label(orgImg, imgLabel);
                          blobs.FilterByArea(10, 130);
                      }
                  }
  
  
              }
          }
          else
          {
              throw new Exception("smtg..");
          }
  
      }
  </code></pre>
  
  <p>I am getting the error message at this line :
  using (IplImage imgLabel = new IplImage(orgImg.Size, BitDepth.F32, 1))</p>