you can maybe use edje_player with valgrind to find the mem leak ? Vincent
On Wed, Nov 20, 2019 at 2:11 AM Jing <[email protected]> wrote: > > Hi Cedric, > I send the signal "START_LOADING" to load the image in my program and use > linux "top" command to detect the memory of my program, the memory will > keep growing if i am not send "STOP_LOADING". > > At 2019-11-20 01:46:35, "Cedric Bail" <[email protected]> wrote: > >Hi Jing, > > > >On Tuesday, November 19, 2019 4:28 AM, Jing <[email protected]> wrote: > >> Below are my parts definition in EDC file, i find the memory leak issue > >> when use signal "START_LOADING" and "STOP_LOADING" to start and stop the > >> image loading. > >> If there anything wrong ? Please advise, thanks. > > > >How do you detect your memory leak and could you share the memory leak > >report here or in pm? > > > >Best, > > Cedric > > > > > >> collections.group { "fresh_group"; > >> parts { > >> image { "fresh"; > >> repeat_events: 1; > >> desc { "default" > >> min: CAPTION_ICON_SIZE CAPTION_ICON_SIZE; > >> max: CAPTION_ICON_SIZE CAPTION_ICON_SIZE; > >> anchors.vertical_center: "refresh_weather" VERTICAL_CENTER; > >> anchors.horizontal_center: "refresh_weather" HORIZONTAL_CENTER; > >> image { normal: "refresh_default.png"; } > >> } > >> desc { "loading1" > >> inherit: "default"; > >> image { normal: "refresh_gif1.png"; } > >> } > >> desc { "loading2" > >> inherit: "default"; > >> image { normal: "refresh_gif2.png"; } > >> } > >> desc { "loading3" > >> inherit: "default"; > >> image { normal: "refresh_gif3.png"; } > >> } > >> desc { "loading4" > >> inherit: "default"; > >> image { normal: "refresh_gif4.png"; } > >> } > >> desc { "loading5" > >> inherit: "default"; > >> image { normal: "refresh_gif5.png"; } > >> } > >> desc { "loading6" > >> inherit: "default"; > >> image { normal: "refresh_gif6.png"; } > >> } > >> desc { "loading7" > >> inherit: "default"; > >> image { normal: "refresh_gif7.png"; } > >> } > >> desc { "loading8" > >> inherit: "default"; > >> image { normal: "refresh_gif8.png"; } > >> } > >> } > >> } > >> programs { > >> program { > >> name: "start"; > >> signal: "START_LOADING"; > >> source: "cardstack"; > >> action: STATE_SET "default"; > >> target: "fresh"; > >> after: "img1"; > >> } > >> program { > >> name: "img1"; > >> action: STATE_SET "loading1"; > >> target: "fresh"; > >> transition: LINEAR 0.1; > >> in: 0.1 0.0; > >> after: "img2"; > >> } > >> program { > >> name: "img2"; > >> action: STATE_SET "loading2"; > >> target: "fresh"; > >> transition: LINEAR 0.1; > >> in: 0.1 0.0; > >> after: "img3"; > >> } > >> program { > >> name: "img3"; > >> action: STATE_SET "loading3"; > >> target: "fresh"; > >> transition: LINEAR 0.1; > >> in: 0.1 0.0; > >> after: "img4"; > >> } > >> program { > >> name: "img4"; > >> action: STATE_SET "loading4"; > >> target: "fresh"; > >> transition: LINEAR 0.1; > >> in: 0.1 0.0; > >> after: "img5"; > >> } > >> program { > >> name: "img5"; > >> action: STATE_SET "loading5"; > >> target: "fresh"; > >> transition: LINEAR 0.1; > >> in: 0.1 0.0; > >> after: "img6"; > >> } > >> program { > >> name: "img6"; > >> action: STATE_SET "loading6"; > >> target: "fresh"; > >> transition: LINEAR 0.1; > >> in: 0.1 0.0; > >> after: "img7"; > >> } > >> program { > >> name: "img7"; > >> action: STATE_SET "loading7"; > >> target: "fresh"; > >> transition: LINEAR 0.1; > >> in: 0.1 0.0; > >> after: "img8"; > >> } > >> program { > >> name: "img8"; > >> action: STATE_SET "loading8"; > >> target: "fresh"; > >> transition: LINEAR 0.1; > >> in: 0.1 0.0; > >> after: "img1"; > >> } > >> program { > >> name: "stop"; > >> signal: "STOP_LOADING"; > >> source: "cardstack"; > >> sequence { > >> action: ACTION_STOP; > >> target: "start"; > >> target: "img1"; > >> target: "img2"; > >> target: "img3"; > >> target: "img4"; > >> target: "img5"; > >> target: "img6"; > >> target: "img7"; > >> target: "img8"; > >> action: STATE_SET "default"; > >> target: "fresh"; > >> } > >> } > >> } > >> } > >> > > > >> enlightenment-devel mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
