How to create, enable, and disable a temporary swap file.
See
AboutThesePages.
Contents
Notes
When I was having some trouble with Mozilla crashing, Bill Kenworthy suggested I experiment with some extra swap, and set me these instructions.
Subject: Re: [expert] Re: Mozilla 0.9.8 MDI / SDI Question
Date: 04 Aug 2002 06:21:48 +0800
From: Bill Kenworthy <billk@iinet.net.au>
Try using a temporary swapfile to increase swap and see if the problem goes away - if so your up for a re-partitioning. I regularly run out of swap with gnumeric (often uses over a gig of it) and a quick swapon saves the system from coming to an abrupt halt. Windows dynamic swap is actually a much more system friendly method of handling swap than what linux uses - yes linux is more efficient, but that goes out the window when swap hits the wall!
dd if=/dev/zero bs=1024 count=1024000 of=/extraswap #put it in the root
mkswap /extraswap
swapon /extraswap
swapon -s (for swap usage)
swapoff /extraswap #turn off when not needed as it can slow the system down - will transfer data out of swap on closedown, so make sure there is room first!
Downside is a noticable slowing of the system over a swap partition, but at least its still working! I keep a swapfile around for a quick swapon when needed - but I really must re-partition soon!
<Currently, no significant content below this line.>
Resources
See
ResourceRecommendations. Feel free to add additional resources to these lists, but please follow the guidelines on
ResourceRecommendations including
ResourceRecommendations#Guidelines_for_Rating_Resources.
Recommended
Recommended for Specific Needs
Recommended by Others
No Recommendation
Not Recommended
Contributors
- () RandyKramer - 04 Aug 2002
- <If you edit this page: add your name here; move this to the next line; and include your comment marker (initials), if you have created one, in parenthesis before your WikiName.>
[[Main.RandyKramer#04 Aug 2002][]]
Page Ratings