View Single Post
Old 12-28-2017, 01:07 PM   #301
sam.vanratt
Member
sam.vanratt began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Dec 2017
Device: Kindle DX (G)
Hi to everyone here
I tried to enable swap but after creating the swap and marking the swap I'm stuck at not being able to use it:
dd if=/dev/zero of=/mnt/us/swapfile.swap bs=1M count=64
/mnt/us/busybox mkswap /mnt/us/swapfile.swap
/mnt/us/busybox swapon -a
(a "/mnt/us/busybox swapon /mnt/us/swapfile.swap" is corrected with invalid argument)

dmesg "swapon: swapfile has holes"
free shows of course no swap used

(busybox is this one │ 25.016Bytes│19.08.15│ 0:16)

As the swapfile is freshly created i couldn't help wondering where the nonsequentiell blocks (holes) come from.

Apart from that way: my DXG uses 107MB RAM at boottime, so I understand the need for swap or even (guessed so far) out of memory crashes. Wouldn't it be practical to save nonessentiell RAM by deactivating some modules like the two Audio/Volume daemons as MP3/WMA playback is cracking, so unusable anyway.
Cheers
Sam

Last edited by sam.vanratt; 12-28-2017 at 01:13 PM.
sam.vanratt is offline   Reply With Quote