|
|
Roku has published information on enabling swap support in an Application Note
The steps involved are:
swapon command.
It is easier to add these commands to CheckingThe/proc/swaps file can be examined to see the state of
the swap space. For example this is what is shown for a 128MB swap
file on a Compact Flash card:
# cat /proc/swaps Filename Type Size Used Priority /mnt/flash1/sdk.swa file 131064 6144 -1The added memory is also visible in /proc/meminfo:
# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 29782016 29081600 700416 0 1110016 11386880
Swap: 134209536 6291456 127918080
|
Copyright © 2024 Andrew Oliver