Reply
Thread Tools
Posts: 182 | Thanked: 13 times | Joined on Feb 2010
#1
i have installed N12 nitdroid on emmc, i have 256mb ram (obviously) and only have less than 96mb free ram in nitdroid, its irritating cos i multitask in nitdroid. I have read posts about activating swap memory but there is no default.prop file in /and/.

please help me activate the swap memory that maemo uses in nitdroid.
 

The Following User Says Thank You to CaSPeRFXX For This Useful Post:
Posts: 182 | Thanked: 13 times | Joined on Feb 2010
#2
is there anyway to activate swap in N12 or not, please help i need more ram
 
Posts: 434 | Thanked: 245 times | Joined on Jan 2010
#3
Originally Posted by CaSPeRFXX View Post
is there anyway to activate swap in N12 or not, please help i need more ram
There is already topic about N12, if you didn't know. You can start reading from here.
 
Posts: 804 | Thanked: 1,598 times | Joined on Feb 2010 @ Gdynia, Poland
#4
Why do you want to enable swap? Swap is disabled in NITDroid because it is not properly used by Android kernel and system AFAIK. See http://groups.google.com/group/andro...9c30688a?pli=1 and http://stackoverflow.com/questions/2...299813#2299813 (these threads are quoted in android 0.0.8 changelog near the point "* swap is disabled", here: http://forum.nitdroid.com/index.php?topic=315.0). The important part is the reposponse made by Dianne Hackborn:
Originally Posted by Dianne Hackborn
On Sun, Sep 5, 2010 at 10:12 PM, Dmitry Grinberg <dmitr...@gmail.com> wrote:
> My question was about that exactly: are there specific provisions in code
> to forcefully avoid usage of swap, or is it just that nobody tested it with
> swap?

It was designed with the assumption there would be no swap. Instead it
relies on an out of memory killer to remove background processes when memory
is getting low. Having this behavior work well with swap raises a lot of
issues about how the two interact... to be honest, I would lean towards not
using swap even if you can because a swapping system results in a much worse
experience (delayed UI response) than one where background processes are
killed.

Note that we *do* rely on paging, just not swap.

--
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails. All such
questions should be posted on public forums, where I and others can see and
answer them.
So there is some out-of-memory killer that kills background processes when RAM is getting low and is not aware of swap and thus even when having swap enabled, device can still behave like it is out of memory... am I right?
 

The Following User Says Thank You to misiak For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 18:07.