[cairo-bugs] [Bug 97378] CAIRO_STATUS_NO_MEMORY after cairo_image_surface_create 10000x30000 image surface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 20 11:12:12 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97378

--- Comment #3 from Uli Schlachter <psychon at znc.in> ---
What makes your believe that "not enough memory" is wrong? If you do the math,
a surface with a width of 10k, height of 30k and 4 bytes per pixels would need
more than one gibibyte of memory (10000*30000*4/(1024*1024*1024)=1.118). Could
it be that allocating that much memory really fails for you?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20160820/dd7884d8/attachment.html>


More information about the cairo-bugs mailing list