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

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -