Invoke ulimit
command from the shell.
ulimit -Sv 10000
This will set current memory limit to 10 000 Kb, so that all apps invoked from this shell afterwards won’t be able to access more memory.
More Related Contents:
- How can I support multiple screen sizes in moblie game deveopment
- Concise way of writing new DialogPreference classes?
- How to print to the console in Android Studio?
- android pass ArrayList to activity
- Android regarding number format exception [duplicate]
- How to call method in android so able to run code
- Android custom Row Item for ListView
- Foreign key constraints in Android using SQLite? on Delete cascade
- Keep broadcast receiver running after application is closed
- Getting java.net.SocketTimeoutException: Connection timed out in android
- Android – Change app Theme on onClick [duplicate]
- How to set timeout in Retrofit library?
- How to sort alphabetically while ignoring case sensitive?
- How to skip initial data and trigger only new updates in Firestore Firebase?
- What exactly is a Context in Java? [duplicate]
- Android – Prevent white screen at startup
- How to remove padding around buttons in Android?
- google gson LinkedTreeMap class cast to myclass
- Setting custom key when pushing new data to firebase database
- Design lib – CoordinatorLayout/CollapsingToolbarLayout with GridView/listView
- Binary XML file line #0: Error inflating class ImageView [duplicate]
- How to decompile DEX into Java source code?
- How to use parameters with HttpPost
- What is the Simplest Way to Reverse an ArrayList?
- Why do we have to call super in Android sometimes?
- Get button coordinates and detect if finger is over them – Android
- How to sample microphone on Android without recording to get live amplitude/level?
- Android session management
- Android – Writing a custom (compound) component
- Android List Preferences: have summary as selected value?