dd if=/dev/urandom of=/dev/zero bs=2GB count=999999 iflag=fullblock & watch -n 0.1 free -m Android Pixel 3a total used free shared buff/cache available Mem: 3678548 1394368 1742132 7540 542048 2007976 Swap: 2097148 830812 1266336 dd if=/dev/urandom of=/dev/zero bs=2GB count=999999 iflag=fullblock 1 minute then ctrl+z total used free shared buff/cache available Mem: 3678548 3241816 73076 6356 363656 161592 Swap: 2097148 853696 1243452 Wait a few minutes. total used free shared buff/cache available Mem: 3678548 3254972 62972 6032 360604 149152 Swap: 2097148 2097148 0 Termux app dies from low memory. /system/bin/swapon /storage/emulated/0/SWAP/swap.swp Bad system call proot /system/bin/swapon /storage/emulated/0/SWAP/swassp.swp swapon: Couldn't swapon '/storage/emulated/0/SWAP/swassp.swp': Function not implemented HP 110-1000, 2GB RAM, 500GB SSD, N270 CPU. Linux 4.19.0-13-686 #1 SMP Debian 4.19.160-2 (2020-11-28) i686 GNU/Linux Uptime 84 days total used free shared buff/cache available Mem: 2056468 106664 690680 31620 1259124 1686320 Swap: 17334796 45568 17289228 dd if=/dev/urandom of=/dev/zero bs=2GB count=999 iflag=fullblock Wait 1 minute then ctrl+z to pause. total used free shared buff/cache available Mem: 2056468 1582692 154668 14176 319108 241592 Swap: 17334796 338688 16996108 dd if=/dev/urandom of=/dev/zero bs=2GB count=999 iflag=fullblock Wait 1 minute then ctrl+c to close. total used free shared buff/cache available Mem: 2056468 347148 1652572 11240 56748 1539308 Swap: 17334796 1354752 15980044 fg and ctrl+c to close the other. total used free shared buff/cache available Mem: 2056468 92640 1902728 11296 61100 1791644 Swap: 17334796 84224 17250572