Project

General

Profile

Feature #420

Updated by Daniel Curtis over 9 years ago

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@: 
 <pre> 
 vi /etc/dphys-swapfile 
 </pre> 
 #* And change CONF_SWAPFILE to how many megabytes should be used for swap space: this 
 <pre> > CONF_SWAPFILE=100 
 To: 
 > CONF_SWAPFILE=512 
 </pre> 

 @man dphys-swapfile@ for details.

Back