View Single Post
Old 07-01-2015, 19:17   #9
Christian Troy
Senior Member
 
Iscritto dal: Aug 2005
Città: Washington
Messaggi: 1202
Quote:
Originariamente inviato da Zenida Guarda i messaggi
Sono legittimi quanto inutili.
I task killer su Android non hanno senso, perché è il SO a decidere chi è quando deve essere killato.. Se lo chiudi con la forza si riapre, quindi è solo un inutile spreco di CPU.
92 minuti di applausi!

tra l'altro, da KitKat in poi:

Codice:
<!-- Device configuration adjusting the minfree tunable in the lowmemorykiller in the kernel. A high value will cause the lowmemorykiller to fire earlier, keeping more memory in the file cache and preventing I/O thrashing, but allowing fewer processes to stay in memory. A low value will keep more processes in memory but may cause thrashing if set too low. Directly added to the default value chosen by ActivityManager based on screen size and total memory for the largest lowmemorykiller bucket, and scaled proportionally to the smaller buckets. 0 keeps the default. -->
<integer name="config_lowMemoryKillerMinFreeKbytesAdjust">0</integer>
senza stare a smanettare ed impazzire coi parametri del kernel driver lowmemorykiller, ho notato che piazzare in quel parametro un valore sui 90MB per devices con 1gb di ram rende piuttosto bene (e Lollipop gestisce la ram molto meglio, almeno sul dispositivo su cui sto sviluppando attualmente)
Christian Troy è offline   Rispondi citando il messaggio o parte di esso
 
1