1

All mobile devices have limited storage options. Therefore, it is imperative for a tester to test an app under low memory conditions. To simulate these conditions, a tester has to fill device memory using dummy files. This is very tedious and time consuming process.

Is there any app or any proper steps to overcome this situation..!!

Viktor Malyi
  • 2,298
  • 2
  • 23
  • 40
Parag Patel
  • 11
  • 1
  • 3

2 Answers2

1

If you're using emulator to perform test execution have variety of options to control memory availability (both RAM, internal storage and SD card) Just limit the size of the memory type you need to the application size + 5% and you'll get "low memory" environment

enter image description here

There are also other ways already present at Stack Overflow on how to simulate memory shortage. See links below:

Community
  • 1
  • 1
Viktor Malyi
  • 2,298
  • 2
  • 23
  • 40
0

You can specify the VM Heap parameter when creating the AVD. However, for a real device it doesn't look like you can change the parameters.

JDong
  • 2,304
  • 3
  • 24
  • 42