On Fri, 10 Jul 2015 16:47:31 +1000 David Seikel <[email protected]> said:
> On Fri, 10 Jul 2015 15:22:22 +0900 Carsten Haitzler (The Rasterman) > <[email protected]> wrote: > > > to a large extent i think a big offender is eo (previous email). we > > need to wait on eo stability and fix this. those 200+k for elm i > > think is all eo classes. that's a guess. (i haven't found something > > to map symbol addresses to pages in ram yet that are dirty). > > EO might be responsible for a large amount of elm being the stand out > memory waster, but I suspect there's another reason. > > Many decades ago I came up with a plan for a "widget set" that I called > NAWS, Not A Widget Set. The basic idea is that you could create a tiny > set of very generic building blocks that could be used to create a wide > variety of the sorts of widgets other widget sets are full of. Instead > of creating lots of pre packaged widgets. Even if OO principles are > used, creating lots of pre packaged widgets uses a lot more then I > think my NAWS would. > > On the other hand, I never got around to actually writing NAWS, so I > never got to prove this. > > Elm is full off all sorts of odd widgets. I suspect that might be > using up a lot of memory just sitting around doing nothing. ummm that has nothing to do with it. the above is simply pages of data mapped from the .so file... those are data/variables compiled into the .so that then are WRITTEN TO at runtime. nothing to do with widgets etc. - that's all in malloc land. this is stuff like symbols that have content in the data that is written to. eo does this a lot - for every class. you are discussing a totally different thing... and tbh - elm isn't the offender with malloced ram. it's edje and basic evas objects (rects are #1). we have so many they are literally chewing through lots. but that is a different bit of allocation etc. - the list above is simply pages of dirty memory mapped from the .so files. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
