Bart Schaefer wrote: > On 4/3/07, Pham Hai <haisoncompany at gmail.com> wrote: >> To install Oracle Database 10g, I need to increase the swap memory to >> 1004 >> MB. > > Tangential aside: Does anyone have an informed opinion on whether the > "swap should be double RAM" rule still makes sense? It never did. I couldn't see why, if I upgraded my Pentium from 64 Mbytes+128 Mbytes I should add swap if I added 128 Mbytes RAM. > >> Couldsomebody explain how to do this the fastest way? Thanks! > > Assuming you've got the free disk space: > > # dd if=/dev/zero of=swapfile bs=1024 count=512K > # mkswap swapfile > # swapon swapfile > > (replace "swapfile" above with an appropriate path for your system). > > Eventually you should make a permanent swap out of a real disk > partition, perhaps by adding a drive to the machine. Why? -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu Please do not reply off-list