Am Mittwoch, 22. Mai 2013 um 05:00 schrieb David Seikel: > On Thu, 16 May 2013 11:43:50 +0200 Leif Middelschulte > <leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com)> wrote: > > > 2013/5/3 David Seikel <onef...@gmail.com (mailto:onef...@gmail.com)> > > > > > On Thu, 2 May 2013 18:24:43 +0200 Leif Middelschulte > > > <leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com)> > > > wrote: > > > > > > > Hi, > > > > > > > > I've written an 'all script' lua edje, which > > > > creates/modifies/deletes a couple of objects. > > > > > > > > Everything seems fine, until the application is closed (not > > > > crashing), when it complains about exceeding lua's memory limit. > > > > Is this expected? > > > > > > > > If not, do you need me to provide code, or is it even a known > > > > issue? > > > > > > > > > > > > > Don't think I've seen that before. Please provide code. > > > > > > Edje Lua tracks how much memory you have allocated to each Lua > > > script, and will complain about that if you exceed it, but that > > > should not be happening when you are shutting down. > > > > > > > > > Sorry for taking this long. See the attached edc. If you confirm > > this, I can open a ticket, if necessary. > > > > Thanks for looking into this. > > Fixed. It seems that weak tables are not working as advertised. We > are using a weak table to store references to the evas objects we > create so that we can pull Lua objects representing them out of that > table to pass back to Lua calls that return previously created evas > objects. But those references prevented the evas objects from being > garbage collected, so they leaked. > >
Thanks! :-) > > Thanks for your test script. You're very welcome! -- Leif > > -- > A big old stinking pile of genius that no one wants > coz there are too many silver coated monkeys in the world. > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may > > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > (mailto:enlightenment-devel@lists.sourceforge.net) > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel