tag:blogger.com,1999:blog-977684764667858073.post9122524235504501789..comments2024-02-09T21:43:15.143+00:00Comments on /bɑs ˈtjɛ̃ no ˈse ʁɑ/ (hadess) | News: GMemoryMonitor (low-memory-monitor, 2nd phase)Bastien Nocerahttp://www.blogger.com/profile/14621847888418739807noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-977684764667858073.post-85212010384912778442019-12-18T10:50:28.139+00:002019-12-18T10:50:28.139+00:00> How do you test the project?
There's a &...> How do you test the project?<br /><br />There's a "fill-memory" test program in the low-memory-monitor sources. And 3 months of dogfooding :)<br /><br />If somebody wanted to spend more time automating this, I think that porting Android's lmkd test suite would be very useful (even if we already use the same trigger points, so there's not that much left to test for).Bastien Nocerahttps://www.blogger.com/profile/14621847888418739807noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-45075253943988258542019-12-18T10:47:01.338+00:002019-12-18T10:47:01.338+00:00Thanks for the clear explanations. Really interest...Thanks for the clear explanations. Really interesting project! <br /><br />How do you test the project? I can see some automated API tests for the GMemoryMonitor API, but I wonder if you also have some tricks for doing manual testing -- maybe you set up a VM and then trigger a high memory pressure situation somehow?Samhttps://www.blogger.com/profile/13420612448912643411noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-68114133896318104962019-12-18T10:40:30.189+00:002019-12-18T10:40:30.189+00:00> Do you have some example code?
Is anything a...> Do you have some example code?<br /><br />Is anything about the API documentation unclear?Bastien Nocerahttps://www.blogger.com/profile/14621847888418739807noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-84707442940135727442019-12-18T10:01:01.673+00:002019-12-18T10:01:01.673+00:00How do I use it in my application? Do you have som...How do I use it in my application? Do you have some example code?Philiphttps://www.blogger.com/profile/06614594496918845905noreply@blogger.comtag:blogger.com,1999:blog-977684764667858073.post-60613243412269864242019-12-18T09:52:05.603+00:002019-12-18T09:52:05.603+00:00I don't think that multiple applications empty...I don't think that multiple applications empty their caches at the same time would have much of an impact. In the worst case, we need to figure out which application to send this information to, but we won't need to change the client API if that were the case.Bastien Nocerahttps://www.blogger.com/profile/14621847888418739807noreply@blogger.com