Just as a helpful note, adding swap space seems to help against application 
crashes.  I've always had issues with 
tangoGPS and the various webbrower apps crashing.  Looking into it a little 
more I notice that this was occurring when the 
puny 128MB of memory was getting filled up.  So, I added a swap file onto my 
microSD card and have had these problems 
practically clear up.  Anyone else had any similar experiences?  If this is a 
true fix this should probably go onto the wiki.  

So, I'm a bit lazy so instead of going through the trouble of adding a swap 
partition, I just created a swap file.  My microSD 
card is mounted at /media/nickcard so change the below accordingly.  I set mine 
up for 1GB, but that seems like way 
overkill, so here is a quick command list to create a 1/2GB swap.  

Create the swap file on the mounted microSD card (count is the number of 
megabytes, change accordingly):
dd if=/dev/zero of=/media/nickcard/swapfile.img bs=1024k count=512

Format the swap file:
mkswap /media/nickcard/swapfile.img

Add the swap file to your running system:
swapon /media/nickcard/swapfile.img

use "free -m" to verify that the swap is going

Now like I said I am lazy, so I didn't want to bother remembering how fstab 
worked so that it would auto-start that way, 
so I just added that last command to the startup.  I read that you would just 
add 
"/media/nickcard/swapfile.img none swap sw 0 0" to /etc/fstab but don't sue me 
if that part don't work.  :)

-Nick

_________________________________________________________________
Windows Liveā„¢: Keep your life in sync. 
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_allup_howitworks_012009
_______________________________________________
Openmoko community mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to