Creating and enabling an internal storage swap partition on rooted Android Kitkat
Just a raw idea, not tested/verified by myself:

Swap can also be established using a swap file, so you could easily test whether it works at all. Try via adb shell or a terminal app, after becoming root, whether the dd, mkswap, and swapon commands are available. If so, you can try:

# create a file to be used for swapping
# (adjust the filename to where the file should reside, and the count
# to the size in kb it should occupy)
dd if=/dev/zero of=&lt;/path/to/swapfile&gt; bs=1024 count=65536

# initialize the file for swap use
# (use the file created in the previous step)
mkswap &lt;/path/to/swapfile&gt;

# enable swapping
swapon &lt;/path/to/swapfile&gt;

# to disable swapping to that file:
# swapoff &lt;/path/to/swapfile&gt;


There are ways to fine-tune this (e.g. setting specific values for swappiness) – but with the steps described you can easily test whether it works at all, without big danger of breaking things. Not even a reboot is required. In the best case, it simply works – in the worst case it does not, and you might have to manually delete the &lt;/path/to/swapfile&gt; ;)