Btw, when I run it telnet'ed into the empeg, I run out of virtual memory (even though I used your script that activates swap).

My example script contains the line swapon -a

This only works if you have properly set up /etc/fstab
to include your swap partitions. This is not done on the
player by default.

You should use swapon /swapfile instead.
I will fix this in the docs in the next release.

You can always check your swap status using cat /proc/meminfo

I use swapon -a because I have multiple swap partitions.

Pim