Download Latest Version 2.3 source code.tar.gz (22.0 kB)
Email in envelope

Get an email when there's a new version of magisk-swapspace

Home / 2.3
Name Modified Size InfoDownloads / Week
Parent folder
magiskswapspace.zip 2025-05-05 27.4 kB
2.3 source code.tar.gz 2025-05-05 22.0 kB
2.3 source code.zip 2025-05-05 28.9 kB
README.md 2025-05-05 1.4 kB
Totals: 4 Items   79.6 kB 2

Release 2.3

magisk-swapspace by chickendrop89 ⓒ GPLv3 license
usage: magiskswap <COMMAND> <VALUE> [OPTIONAL]

create <size: GB> [priority] [preserve]
  - Creates swapfile and swaps-on
    (?) [preserve] option enables the previously disabled swapfile

remove [preserve]
  - Permanently swaps-off and deletes swapfile
    (?) [preserve] option only disables it

status [swapon] [swapoff]
  - Prints swapfile size and status

swappiness <0-200> [show] [reset]
  - Controls how agressively Linux swaps anonymous memory

() These commands are presistent across reboots ()

Changelog

  • Remove vfs-cache-pressure as it's kinda unrelated to this module
  • Add proper permissions to the swapfile during creation
  • Change module description/usage
  • Simplify the code a bit

GitHub Releases SourceForge

Source: README.md, updated 2025-05-05