Originally Posted by lazlow
Ok, in order to add more memory(ram) you have to shut the machine down, there is no way around this.
Weeelll ... actually the kernel does
support memory hotplugging. Both adding and removing.
The likelihood of the OP having the appropriate hardware and kernel level is probably very slim.
As mentioned, resizing swap is generally pretty painless.