Skip to content

calib3D : cannot allocate matrix in OpenCV_4.0.1 #13908

@x3lif

Description

@x3lif
System information (version)
  • OpenCV : 4.0.1
  • Operating System / Platform : Opensuse15
  • Compiler => gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]
Detailed description

When updating my codebase from OpenCV 3.2.0 to OpenCV 4.0.1, i see an opencv error (cannot allocate memory) while trying to calibrate cameras with some big input matrices while it wasn't reporting any error on previous version.


error: (-4:Insufficient memory) Failed to allocate 224616847152 bytes in function 'OutOfMemoryError'

Steps to reproduce

Call cv::calibrateCamera with a total number of objectPoints greater than 300,000 .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions