[maemo-developers] [maemo-developers] Unable to create virtual memory

From: Jakub.Pavelek at nokia.com Jakub.Pavelek at nokia.com
Date: Wed Dec 20 11:44:54 EET 2006
>I have Nokia 770 with OS 2006 on it. I've been trying to 
>extend my memory card to be used as additional virtual memory. 
>I used Control 
>panel->Memory->Virtual (tag). When I choose either of sizes offered
>(from 8 MB to 32 MB in my case) and press 'OK' it displays an 
>error window 'Unable to create virtual memory'. What might be 
>wrong here? And also, what this built-in option actually does? 

It resizes or creates a file ".swap" on the memory card. Could be you
have a ".swap" there already, created as a root and then it can't touch
it.

>Is it analogical to 'swapon/swapoff' terminal command and, 
>thus, the screenshot applet? Do I have to create manually a 
>swap file before using control panel/screenshot applet?

SWAP creation in IT-2006 is a separate process from SWAP usage (which is
automatic, no need to swap on/off).

>My memory card has the size of 64 MB. It is currently 38% used 
>and the rest of it is free. There is only one default partition.
>
>My second question is whether to use swap file or partition? 
>Did I understand correctly 
>(http://maemo.org/maemowiki/HowTo_CreateSwap) that for OS 2006 
>there are basically NO arguments for using a swap partition 
>rather than a swap file on the memory card? The only one I 
>find is that a swap partition will be available when the Nokia 
>770 is connected via USB to a PC. Otherwise the OS 2006 
>automatically does swapon/swapoff upon USB connection/card 
>ejection, so the device will not crash if we forget to do it manually.

SWAP partition is not official feature. IT-2006 will swap off when you
eject the card or connect USB to a PC.

Br,

--jakub

More information about the maemo-developers mailing list