Categories

Categories

Archives

creating swap on the nokia 770

there seems to be several blogs and sites that describe how to create swap but few actually give step by step directions.

the nokia 770 is a great device, but occasionally when browsing graphic or media rich websites, the error ‘not enough memory’ is displayed.

to solve this, a swap file is needed.

as root:
# touch /media/mmc1/swap
# dd if=/dev/zero of=/media/mmc1/swap bs=1024 count=16384
# mkswap /media/mc1/swap 16384
# swapon /media/mmc1

count=32768 can be substituted for a 32 MB swap file…

it doesn’t make processing faster, but it should allow you have more applications open…

3 comments to creating swap on the nokia 770

  • Do you have to edit the fstab or boot scripts to automatically remount the swap file on reboot? Also, wouldn’t the use of a swap file on an MMC card reduce the MMC card’s life sigificantly on those flash sectors?

  • erich

    yes, setting a swap file on a flash memory device is extreamly bad. However, with the constantly cheaper costing flash being released, wearing out this memory faster is actually an incentive.

    i haven’t figured out how to load on startup. manually starting seems to be the way so far.

  • erich

    I would like to retract my last comment on the original post… It does make processing much faster. In fact I’ve noticed that the web bowser loads and runs really fast.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

  

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.