We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

[2.0.0.10]How to clear RAM in SFOS [answered]

asked 2015-10-27 10:12:10 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2015-10-27 12:15:40 +0300

venki gravatar image

Is there a way to clear-up RAM ? How?? Android games like Minion Rush are lagging very much. playing android games while Native media player is running simultaneously, the games are lagging a lot.

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by JSEHV
close date 2016-02-01 18:06:24.872352

Comments

4

lagging is not really a problem with lack of RAM. If you were out of ram the media player would get killed, and in worse cases even the game would get killed.

At any rate, your question doesn't really make sense, Clean Ram? its either in use or its not...

r0kk3rz ( 2015-10-27 10:30:42 +0300 )edit

android os have lot of ram cleaners right away.do u agree with that..in the sense i doubt does sailfish os have any?

venki ( 2015-10-27 12:12:31 +0300 )edit
7

Cleaning the main memory is an wrong concept from the old days of Windows 9x. In general, keeping stuff in the main memory makes a system fast, not slow!

GNU/Linux uses as much of the available main memory as possible, it stores there the current running applications and as much buffer and cache from old running applications as feasible. If necessary, the unused parts of buffer and cache could be reclaimed instantly. Freeing the used memory for applications is done straight, by closing the applications.

If you are really under memory pressuer, you can always close running applications. Which makes the used memory available to be reclaimed if desired by the kernel. And yes, 1 GB is a little bit to small, even for a smartphone.

The worst thing which a system can do is "cleaning the main memory", so you have to load everything again from the slow disk.
https://forums.gentoo.org/viewtopic.php?p=1155852&sid=b1954ca7fec7bd517cff76a3f441ee02https://wiki.gentoo.org/wiki/Knowledge_Base:All_available_memory_is_being_used

hoschi ( 2015-10-27 12:18:57 +0300 )edit
4

@venki, Yes android has all sorts of voodoo/snake oil apps like 'ram cleaners' and 'battery enhancers' that I'm sure provide zero benefit. If you want to 'clean' ram on sailfish, reboot the phone, or really just stop Android in the settings menu to kill any errant android processes that are lurking in the background.

r0kk3rz ( 2015-10-27 12:30:17 +0300 )edit
3

Uninstall Facebook w/chat and Skype. They will eat more RAM than you can imagine, even when they are closed... They have memory hogging background services.

So yeah, the amount of apps installed nowadays affect your devices performance.

Direc ( 2015-10-27 12:59:57 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2015-10-27 10:16:14 +0300

Giacomo Di Giacomo gravatar image

updated 2015-10-27 10:16:37 +0300

You can only do that much with 1 GB RAM. The RAM size, the same as the 2011 N9, is the biggest flaw in the Jolla design.

edit flag offensive delete publish link more

Comments

is there any way to do it from terminal?

venki ( 2015-10-27 10:18:48 +0300 )edit
2

The only way to free some RAM is to shut the processes taking it. Run fewer applications in parallel (close them as soon as you finish with them, do not leave them minimised), get rid of background processes you do not absolutely need (Weather, system monitor, various social daemons like Wazzap, Facebook, RSS...).

Just by sticking to simple rules like that, my Jolla is snappy as an alligator and has not had an OOM condition for 6 months.

pichlo ( 2015-10-27 10:30:13 +0300 )edit

thank u pichlo for the answer.any how iam rebooting my jolla once in a day to get rid of this problem!

venki ( 2015-10-27 12:14:11 +0300 )edit

fyi you can download lighthouse from the Jolla store to find out which processes are hogging memory.

shfit ( 2015-10-27 22:30:53 +0300 )edit

Question tools

Follow
1 follower

Stats

Asked: 2015-10-27 10:12:10 +0300

Seen: 796 times

Last updated: Oct 27 '15