Is there an easy way to simulate low memory inside the emulator ? I'm interested to perform resource cleanups similar to this post
+9
A:
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.
Pavel Shved
2009-09-27 09:06:41
How do you learn these things ? Lots of thanks.
Jacques René Mesrine
2009-09-27 09:25:36
Does that work on windows?
Seun Osewa
2010-03-25 10:34:42
A:
Read the doc guys : http://developer.android.com/guide/developing/debug-tasks.html#additionaldebugging
Enjoy!