Project

General

Profile

Feature #420

Changing the Swap Size on Raspbian

Added by Daniel Curtis over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
07/13/2014
Due date:
% Done:

100%

Estimated time:
0.10 h
Spent time:

Description

I encountered the need to increase the stock size of the swap on Raspbian. The default is 100MB, however I want to change it to 512MB. This can be done by doing the following:

  • Change the size in /etc/dphys-swapfile:
    vi /etc/dphys-swapfile
    
    • And change CONF_SWAPFILE to how many megabytes should be used for swap space:
      CONF_SWAPFILE=512
      

man dphys-swapfile for details.

#1

Updated by Daniel Curtis about 10 years ago

  • Description updated (diff)
  • Status changed from New to Resolved
  • % Done changed from 0 to 100
#2

Updated by Daniel Curtis about 10 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF