Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Memory bloated?

    Reply
    Page 1 of 2 | 1   2   | Next
    tortoisedoc | # 1 | 2013-02-23, 21:00 | Report

    It happened today that during my various tests,
    I had to fire up good old top; and I noticed my 1GB RAM being fully used!
    Now this is totally a newbie question and I apologize for that.
    Is this normal on harmattan?

    It seems all the device slowdowns occour exactly once the memory is full.
    EDIT : which is compatible with swapping happening.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by tortoisedoc; 2013-02-23 at 21:06.

     
    burwat292596 | # 2 | 2013-02-24, 05:30 | Report

    http://everythingn9.com/ has an article on swap etc in one of their most recent posts....

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ladoga | # 3 | 2013-02-24, 06:14 | Report

    Originally Posted by
    This 768MB can quickly be used up, and if you load quite a few apps open at the same time, you may notice the device starting to slow down,and even closing all of these apps sometimes is not enough.
    This is ********. Quitting app will free the RAM.
    Cache is essentially free memory.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to ladoga For This Useful Post:
    thedead1440

     
    tortoisedoc | # 4 | 2013-02-24, 10:14 | Report

    Okay;
    a bit of investigation turned up that everything is ok.
    Maybe the fact that I did not reboot my phone in like two weeks contribuited to the bloating :P.
    So, on boot up (at the first moment a SSH connection via SDK mode is available) the ammount of used RAM is about 720 Megs (according to top).

    After boot is complete, applications are then pre-started as configured by each application (and as expected; so nothing strange here).
    Opening many apps turned out to push the mem to 1 GB; but no problems (except the usual slow downs). So nothing weird here .

    Perhaps using inception it could be easy to force a non-prestarted mode for most of the apps, which would save ram, and maybe also power?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    herpderp | # 5 | 2013-02-24, 10:32 | Report

    Linux always uses up all available memory for buffers/cache, nothing strange there. Unused memory is wasted memory.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to herpderp For This Useful Post:
    ladoga

     
    tortoisedoc | # 6 | 2013-02-24, 12:22 | Report

    Originally Posted by herpderp View Post
    Linux always uses up all available memory for buffers/cache, nothing strange there. Unused memory is wasted memory.
    Sure that.
    But also wasted battery.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    herpderp | # 7 | 2013-02-24, 14:50 | Report

    Originally Posted by tortoisedoc View Post
    Sure that.
    But also wasted battery.
    Really? Care to explain how?

    You think that unused memory will not use electricity?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    tortoisedoc | # 8 | 2013-02-24, 15:19 | Report

    Originally Posted by herpderp View Post
    Really? Care to explain how?

    You think that unused memory will not use electricity?
    DRAM requires periodic refresh to retain values.
    I would assume in low power envs unused DRAM would smartly be kept off (thus avoiding unnecessary currency drain).


    But then again, I have no idea how DRAM in low power works so I am most likely wrong (even tho my thought sounds quite logical to me) .

    EDIT: no mentioning of dropping currency drain from unused ram it seems.

    http://en.wikipedia.org/wiki/Mobile_DDR

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by tortoisedoc; 2013-02-24 at 15:24.

     
    herpderp | # 9 | 2013-02-24, 15:46 | Report

    Originally Posted by tortoisedoc View Post
    DRAM requires periodic refresh to retain values.
    I would assume in low power envs unused DRAM would smartly be kept off (thus avoiding unnecessary currency drain).
    But then again, I have no idea how DRAM in low power works so I am most likely wrong (even tho my thought sounds quite logical to me) .

    EDIT: no mentioning of dropping currency drain from unused ram it seems.

    http://en.wikipedia.org/wiki/Mobile_DDR
    Of course not - switching them on and off would drain more power, not to mention the lag caused of having to switch on banks of memory when you need them.

    So, next time please inform yourself before spreading misinformation.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    tortoisedoc | # 10 | 2013-02-24, 15:59 | Report

    Originally Posted by herpderp View Post
    Of course not - switching them on and off would drain more power
    Meaning how?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout