[Pharo-dev] AthensCairoSurface not getting garbage collected

Nicolai Hess nicolaihess at gmail.com
Sun Jul 3 11:57:38 EDT 2016

Hi Jeff,

if you use forms to paint on an AthensCairoCanvas, they are cached in the
can you try to flush that cache whith
CairoBackendCache flush.

2016-06-18 18:36 GMT+02:00 J.F. Rick <self at je77.com>:

> I'm using Athens rendering for my multi-touch applications on Pharo5. As
> part of that, I create a surface:
> surface := AthensCairoSurface extent: bounds extent asIntegerPoint.
> Though the object creating that surface is deleted, the surface sticks
> around. So, each time I run the app, I get another instance of
> AthensCairoSurface hanging around. That means all the forms stick around as
> well. So my image can quickly grow towards the 1GB size.
>  Is there anything I can do about that? Can I manually get the surface to
> delete itself?
> Cheers,
> Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20160703/3e4be5fe/attachment-0002.html>

More information about the Pharo-dev mailing list