[cairo] cairo_surface_write_to_png & out of memory return status‏

Jeff Muizelaar jeff at infidigm.net
Wed Feb 4 10:28:16 PST 2009

On Wed, Feb 04, 2009 at 09:22:25AM -0800, Pablo Romero wrote:
> I need help debugging the "out of memory" error Im receiving when trying to call the cairo_surface_write_to_png function.
> Im sure that the system does have plenty of memory.
> The function is being called from within a larger program, so Im not sure if the main program is limiting its memory use somehow (Im not a very experienced C programmer).

setting a breakpoint on _cairo_error should show you where we first
enter an error state. That should give you some idea of what's going on.


More information about the cairo mailing list