Hovatek Forum DEVELOPMENT Android Restrict RamSize in Nexus 5 Device
Try our Online TWRP Builder..its free!
Can't login? Please, reset your password.


Restrict RamSize in Nexus 5 Device

Restrict RamSize in Nexus 5 Device

m.mustansar.saeed@gmail.com
m.mustansar.saeed@gmail.com
m.mustansar.saeed@gmail.com
Enthusiastic Member
14
08-05-2021, 08:20 AM
#1



Hi,

I am taking measurements of times for operations under different ram scenarios on a single device. I want to vary different RAM sizes to capture times of operations. e.g., Nexus 5 has 2GB RAM. I want to restrict RAM to 1GB and perform someoperations. Then I want to restrict RAM to 512MB and perform some operations. Can anyone please guide how can I achieve this. My device is rooted.

I am applying same restrictions on CPU cores using following command:

echo "0" > /sys/devices/system/cpu/cpu1/online

Thanks.
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram