http://pqxx.org/development/swapspace/
... Unlike similar programs such as dynswapd and the older (and more portable) swapd, Swapspace also adapts the sizes of the swap files it creates to meet demand...
According to your architecture download swapspace from debian:
https://packages.debian.org/squeeze/swapspace
A necessary dependency:
https://packages.debian.org/squeeze/lsb-base
And proceed to deb2xzm. Then start it in command line:
Code: Select all
swapspace
The disadvantage:
http://pqxx.org/development/swapspace/
When not to use it
In its current form, Swapspace is probably not a good choice for systems that need to remain responsive at all times