Hi,
Am Dienstag, 14. April 2020, 09:07:05 CEST schrieb 不瘦十斤不改名字: > 我的怎么用不了虚拟安卓,已付款 Because it is licenses work by another company that did not open source their integration of Android into the system. (translate by google) 我说信用卡付款不能使用Android虚拟机 > > > ------------------ 原始邮件 ------------------ > 发件人: "devel-request"<devel-requ...@lists.sailfishos.org>; > 发送时间: 2020年4月14日(星期二) 中午1:40 > 收件人: "devel"<devel@lists.sailfishos.org>; > > 主题: Devel Digest, Vol 72, Issue 11 > > > > Send Devel mailing list submissions to > devel@lists.sailfishos.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel > or, via email, send a message with subject or body 'help' to > devel-requ...@lists.sailfishos.org > > You can reach the person managing the list at > devel-ow...@lists.sailfishos.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Devel digest..." > > > Today's Topics: > > 1. memory leak? (E.S. Rosenberg) > 2. Re: memory leak? (David Llewellyn-Jones) > 3. Re: memory leak? (E.S. Rosenberg) > 4. Lipstick not launching app (Julien Blanc) > 5. Re: Lipstick not launching app (Андрей Кожевников) > 6. Re: Lipstick not launching app (Julien Blanc) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 13 Apr 2020 15:54:02 +0300 > From: "E.S. Rosenberg" <es.rosenberg+sailfishos....@gmail.com> > To: Sailfish OS Developers <devel@lists.sailfishos.org> > Subject: [SailfishDevel] memory leak? > Message-ID: > <CAHxFV_vsa-YEJ2pL2s8xk=7rwnop9sfj6bsaneq76fbubhv...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi all, > Recently I've noticed my phone running out of memory more often. > I've update to 3.3.0.14 but I also released a newer version of gPodder > which may be guilty of this. > However closing gPodder does not release memory so I'm not really sure if I > should blame myself or that lipstick is after all leaking memory. Also how > does one optimize a qml/python apps memory usage? Neither is managed to the > best of my knowledge. > I may have time later to test the level of involvement of gPodder by > downgrading. > Thanks, > Ei > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <https://lists.sailfishos.org/pipermail/devel/attachments/20200413/83519421 > /attachment-0001.html> > ------------------------------ > > Message: 2 > Date: Mon, 13 Apr 2020 17:03:05 +0300 > From: David Llewellyn-Jones <da...@flypig.co.uk> > To: devel@lists.sailfishos.org > Subject: Re: [SailfishDevel] memory leak? > Message-ID: <3b91822b-d63c-5266-f907-e4dc7a460...@flypig.co.uk> > Content-Type: text/plain; charset=utf-8 > > On 13/04/2020 15:54, E.S. Rosenberg wrote: > > Recently I've noticed my phone running out of memory more often. > > I've update to 3.3.0.14 but I also released a newer version of gPodder > > which may be guilty of this. > > However closing gPodder does not release memory so I'm not really sure > > if I should blame myself or that lipstick is after all leaking memory. > > Also how does one optimize a qml/python apps memory usage? Neither is > > managed to the best of my knowledge. > > I may have time later to test the level of involvement of gPodder by > > downgrading. > > Hi Eli, > > If the memory isn't released when gPodder's closed (assuming the app is > definitely closed, and not just hidden), then it's highly unlikely to be > gPodder draining your memory. > > A very simple way to check memory usage is just to take a look at the > output of "top". The following will show everything running ordered by > memory usage and keep it updated: > > top -o %MEM > > Or if you just want to track gPodder you could use something like this: > > top -o %MEM -p `pgrep sailfish-qml` > > I used sailfish-qml as the app name, since probably that's what gPodder > will be called if it's QML/python-only, but you can change it to > whatever you're interested in. > > Finally I was going to suggest to run it with valgrind, which gives a > summary of memory leaks when you close the app and I've found useful in > the past for C++ code. Unfortunately when I tried it on another QML-only > app the results weren't very helpful at all. So this may not be a > helpful route to go down. > > Nevertheless I uploaded an RPM to openrepos in case it's helpful in some > other context: > > https://openrepos.net/content/flypig/valgrind > > David > -- > Website: https://www.flypig.co.uk > > > ------------------------------ > > Message: 3 > Date: Mon, 13 Apr 2020 17:47:04 +0300 > From: "E.S. Rosenberg" <es.rosenberg+sailfishos....@gmail.com> > To: Sailfish OS Developers <devel@lists.sailfishos.org> > Subject: Re: [SailfishDevel] memory leak? > Message-ID: > <CAHxFV_t9EaKUdktvUAf6i-=g1qgWb0DF4YZexER=8yp3-ay...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi David, > I have been using htop to monitor what is going on before and after > closing. In the past I've used valgrind for C++ projects (openlighting) > but this is python/QML with no compiled code (from my side) at all to the > best of my understanding valgrind can't help me with this, but I may be > wrong. > Memory usage of the newer version of gPodder is definitely higher (it loads > a large amount of images) but it's also not released with closing gPodder > (which does not background) so I suspect there is some bad synergy > happening by a memory leak in system libraries being exasperated by > gPodder. I downgraded on my phone and I could push memory usage up by just > switching between lots of different pages and it seems pages don't get > cleared from memory when not in use, though memory usage did drop a bit > when I locked the screen. > (By opening all podcast information pages which include logos and all > episode listings one after the other I managed to enlarge the total memory > footprint [VIRT] from ~500M to 1200M after screen lock it dropped back down > to ~850M, resident memory usage [RES] was doubled by this and never dropped > back down) > In the newer version the episode listings are much heavier because each > episode comes with a picture. > > Thanks, > Eli > > Op ma 13 apr. 2020 om 17:03 schreef David Llewellyn-Jones < > da...@flypig.co.uk>: > > > On 13/04/2020 15:54, E.S. Rosenberg wrote: > > > Recently I've noticed my phone running out of memory more often. > > > I've update to 3.3.0.14 but I also released a newer version of > gPodder > > which may be guilty of this. > > > However closing gPodder does not release memory so I'm not really > sure > > if I should blame myself or that lipstick is after all > leaking memory. > > Also how does one optimize a qml/python apps > memory usage? Neither is > > managed to the best of my knowledge. > > > I may have time later to test the level of involvement of gPodder > by > > downgrading. > > > > Hi Eli, > > > > If the memory isn't released when gPodder's closed (assuming the app > is > definitely closed, and not just hidden), then it's highly unlikely > to be > gPodder draining your memory. > > > > A very simple way to check memory usage is just to take a look at the > > output of "top". The following will show everything running ordered by > > memory usage and keep it updated: > > > > top -o %MEM > > > > Or if you just want to track gPodder you could use something like > this: > > > top -o %MEM -p `pgrep sailfish-qml` > > > > I used sailfish-qml as the app name, since probably that's what > gPodder > will be called if it's QML/python-only, but you can change it > to > whatever you're interested in. > > > > Finally I was going to suggest to run it with valgrind, which gives a > > summary of memory leaks when you close the app and I've found useful > in > the past for C++ code. Unfortunately when I tried it on another > QML-only > app the results weren't very helpful at all. So this may not > be a > helpful route to go down. > > > > Nevertheless I uploaded an RPM to openrepos in case it's helpful in > some > other context: > > > > https://openrepos.net/content/flypig/valgrind > > > > David > > -- > > Website: https://www.flypig.co.uk > > _______________________________________________ > > SailfishOS.org Devel mailing list > > To unsubscribe, please send a mail to > > devel-unsubscr...@lists.sailfishos.org > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <https://lists.sailfishos.org/pipermail/devel/attachments/20200413/01e61ca1 > /attachment-0001.html> > ------------------------------ > > Message: 4 > Date: Mon, 13 Apr 2020 18:12:35 +0200 > From: Julien Blanc <julien.bl...@tgcm.eu> > To: Sailfish OS Developers <devel@lists.sailfishos.org> > Subject: [SailfishDevel] Lipstick not launching app > Message-ID: <b1756f97cf8c1e4fbf672c03d3323da76902cbde.ca...@tgcm.eu> > Content-Type: text/plain; charset="UTF-8" > > Hi, > > I’m running into a pretty annoying issue with lipstick not launching > the application i develop anymore (occurs with 3.3, but occurs after i > made some changes which should not be relevant). > > The application launch fine from a terminal, launch fine from the sdk, > but launching it from lipstick, it never gets launched and the process > does not show up when running top/ps & co. > > This seems like there could be something wrong with my .desktop file, > but it didn't change between version 0.6 which was working fine with > 3.3 and the dev version, which is not (i could not test dev version > with 3.2 yet). > > journalctl does not show anything. There must be something wrong with > my app, since it is the only one showing this behaviour (and it didn't > before), but i'm puzzled as how to debug this. Any pointer would be > greatly appreciated. > > Regards, > > Julien > > > > ------------------------------ > > Message: 5 > Date: Mon, 13 Apr 2020 19:57:14 +0300 > From: Андрей Кожевников <coderusin...@gmail.com> > To: Sailfish OS Developers <devel@lists.sailfishos.org> > Subject: Re: [SailfishDevel] Lipstick not launching app > Message-ID: > <cafbg4ueltmb8udtythjmr39vi_7kv4yglstu7bcnudhpgv7...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hello. You're right. Show us your .desktop file to judge > > пн, 13 апр. 2020 г. в 19:12, Julien Blanc <julien.bl...@tgcm.eu>: > > > Hi, > > > > I’m running into a pretty annoying issue with lipstick not launching > > the application i develop anymore (occurs with 3.3, but occurs after i > > made some changes which should not be relevant). > > > > The application launch fine from a terminal, launch fine from the sdk, > > but launching it from lipstick, it never gets launched and the process > > does not show up when running top/ps & co. > > > > This seems like there could be something wrong with my .desktop file, > > but it didn't change between version 0.6 which was working fine with > > 3.3 and the dev version, which is not (i could not test dev version > > with 3.2 yet). > > > > journalctl does not show anything. There must be something wrong with > > my app, since it is the only one showing this behaviour (and it didn't > > before), but i'm puzzled as how to debug this. Any pointer would be > > greatly appreciated. > > > > Regards, > > > > Julien > > > > _______________________________________________ > > SailfishOS.org Devel mailing list > > To unsubscribe, please send a mail to > > devel-unsubscr...@lists.sailfishos.org > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <https://lists.sailfishos.org/pipermail/devel/attachments/20200413/0f5410b2 > /attachment-0001.html> > ------------------------------ > > Message: 6 > Date: Tue, 14 Apr 2020 07:35:13 +0200 > From: Julien Blanc <julien.bl...@tgcm.eu> > To: devel@lists.sailfishos.org > Subject: Re: [SailfishDevel] Lipstick not launching app > Message-ID: <4bfbf033104b80e93c74fb92459c40974c16245a.ca...@tgcm.eu> > Content-Type: text/plain; charset="UTF-8" > > There it is : > > [Desktop Entry] > Type=Application > X-Nemo-Application-Type=silica-qt5 > Icon=harbour-kontroller > Exec=harbour-kontroller > Name=Kontroller > # translation example: > # your app name in German locale (de) > # > # Remember to comment out the following line, if you do not want to use > # a different app name in German locale (de). > #Name[de]=kontroller > > > The whole source code is available here: > > https://github.com/Julien-Blanc-tgcm/kontroller > > I changed a lot of things from v0.6, so tracking which particular > change triggers the problem is not an easy task. I’d rather have a way > to get more traces from lipstick than reverting every single change i > made. > > THanks for your help, > > Regards, > > Julien > > Le lundi 13 avril 2020 à 19:57 +0300, Андрей Кожевников a écrit : > > Hello. You're right. Show us your .desktop file to judge > > > > пн, 13 апр. 2020 г. в 19:12, Julien Blanc <julien.bl...@tgcm.eu>: > > > Hi, > > > > > > I’m running into a pretty annoying issue with lipstick not > > > launching > > > the application i develop anymore (occurs with 3.3, but occurs > > > after i > > > made some changes which should not be relevant). > > > > > > The application launch fine from a terminal, launch fine from the > > > sdk, > > > but launching it from lipstick, it never gets launched and the > > > process > > > does not show up when running top/ps & co. > > > > > > This seems like there could be something wrong with my .desktop > > > file, > > > but it didn't change between version 0.6 which was working fine > > > with > > > 3.3 and the dev version, which is not (i could not test dev > version > > with 3.2 yet). > > > > > > journalctl does not show anything. There must be something wrong > > > with > > > my app, since it is the only one showing this behaviour (and it > > > didn't > > > before), but i'm puzzled as how to debug this. Any pointer would > be > > greatly appreciated. > > > > > > Regards, > > > > > > Julien > > > > > > _______________________________________________ > > > SailfishOS.org Devel mailing list > > > To unsubscribe, please send a mail to > > > devel-unsubscr...@lists.sailfishos.org > > > > _______________________________________________ > > SailfishOS.org Devel mailing list > > To unsubscribe, please send a mail to > > devel-unsubscr...@lists.sailfishos.org > > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Devel mailing list > Devel@lists.sailfishos.org > https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel > > ------------------------------ > > End of Devel Digest, Vol 72, Issue 11 > ************************************* _______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org