In order to reproduce a bug, I need to create a low memory state on my Android device. The bug is related to the camera app that apparently kills my application when it get started. The app is based on Phonegap 1.4.1 and I have already read posts about this but I could not find a way to replicate the low memory state.
Asked
Active
Viewed 591 times
0
-
2A simple SO search yields [this](http://stackoverflow.com/questions/1483047/how-do-you-simulate-low-memory-in-the-android-emulator) answer – KDEx May 18 '12 at 18:38
-
Thanks but it's the first I have done and it didn't help me. I get a "ulimit: Illegal option -v" – gemini May 19 '12 at 07:14
-
The 'v' stands for 'The maximum amount of virtual memory available to the process.' http://ss64.com/bash/ulimit.html – gemini May 19 '12 at 07:16
-
There is more that one valid answer to the linked question. – Alex Cohn Aug 25 '17 at 12:45
1 Answers
1
In developer options on android, choose "Don't keep activities" at the end of the page

Arbitur
- 38,684
- 22
- 91
- 128

Rahí Palhares
- 11
- 1