java - Ways of increasing memory usage of Android app programmatically -


i have android app tested memory usage. test case, need increase memory usage(ram) programmatically. possible ways? increasing thread.sleep time in app increase memory usage?

bytearrayinputstream bais = new bytearrayinputstream(new byte[1000]);

creates object in memory 1000 bytes.

1000000 bytes 1mb


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -