[PySide] QImage: out of memory, returning null image

John Ehresman jpe at wingware.com
Tue Jun 4 21:01:44 CEST 2013


On 6/4/13 2:51 PM, William Dias wrote:
> Hi,
> 
> I've written a program that continuously pools a webcam to grab image
> frames through opencv library. Sporadically, when converting the frame
> to a QImage object, I get the message: QImage: out of memory, returning
> null image.

Is the system out of memory?  I'd use OS level tools to check.  Once
you've checked this, you'll know whether to figure out why more memory
is used than you expect or why Qt is reporting an out of memory failure
when memory is available.

Cheers,

John




More information about the PySide mailing list