Hey there,

I'm currently working on some code [1] which reads PNG images from stdin
and does some processing and comparisons on them.

In short:
 - The data is read from stdin and fed to an Evas_Object (created via
   evas_object_image_filled_add) with evas_object_image_memfile_set;
 - Some of these images are processed and compared and another
   Evas_Object holding another image is created via
   evas_object_image_filled_add.

However, the file descriptors used by evas_object_image_memfile_set and
the memory allocated by the calls to evas_object_image_filled_add are
freed only when evas_object_image_free() is called, and this only seems
to be happening when we destroy our Ecore_Evas at the end of the
execution. This means that file descriptor and memory consumption
increases until the system is exhausted.

Is this behaviour intentional and should we be doing it all differently?

[1] http://trac.webkit.org/browser/trunk/Tools/DumpRenderTree/efl/ImageDiff.cpp

-- 
Raphael Kubo da Costa
ProFUSION embedded systems
http://profusion.mobi


------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to