Comment 8 for bug 1560942

Oliver Grawert (ogra) wrote :

@mark:

so how about
"snap set core system.swap=512"

config:
  core:
    system:
      swap: 512 # size in MB|auto

where "auto" would select a certain percentage of free diskspace (somewhere between 5 and 10%)
if it is unset (the default to not scare SD card users away) there wont be swap.