I want to test our app for low memory cases.
Do you have any ideas how to call onLowMemory on devices?
Thanks.
I just know only one way to do this is to create a method that runs on another thread that leaks memory, make it continuous until onLowMemory() is called, and then stop the thread.
onLowMemory()
Well, if someone shares experience in this case!
Source: https://habr.com/ru/post/898756/More articles:Android Maven plugin - how to start an application automatically after deployment - androidandroid automation maven - androidSetters return a reference to an instance. Pattern or anti pattern? - javaA faster way to compile Factor programs - compilationUnderstanding the difference between test-first and test-driven, unit-testingWhat is red / green testing? - .netPassing a valid Python path from PHP - pythonMVC3 unobtrusive validation: how to remove / reattach validation from a group of elements? - javascriptMagento: Get Product Visibility - magentoFor collision detection, is Chipmunk or Box2d the best tool? - iosAll Articles