Question on memory and sluggishnessGeneral


Last Updated:

  1. pjduncan

    pjduncan New Member This Topic's Starter

    Joined:
    Jul 28, 2009
    Messages:
    2
    Likes Received:
    0
    At times I have problems with sluggish behavior. One example is using the Home replacement called dxTop. In their FAQ it states that sluggish behavior and needing to redraw icons can be caused by low memory, which makes sense. I'm having a hard time figuring out how the G1 uses it's memory for various functions and how it reports this info to the user. Perhaps someone could lend some clarity.

    In printed specs I've seen the G1 as having 192MB RAM and 256MB ROM. When I check the system monitor app, I get the following info
     

    Advertisement
  2. justjimjpc

    justjimjpc Premium Member VIP Member

    Joined:
    Nov 3, 2008
    Messages:
    10,543
    Likes Received:
    210
    Rather than attempting to answer all your questions in detail... I will try to give a simple explanation.

    1.) the phone has 3 types of memory ROM, Ram, and sdcard storage ...

    2.) rom Is for storage of system OS and apps, Ram is used for runnig the OS and apps, and the Sdcard is for general storage.

    3.) when too many apps are running and there is not enough RAM the OS system will cache things off into the ROM as an like a swap area... So if you have a lot of space in the ROM used Apps storage ... then then means less area that the OS can use as swap space when running multiple apps...

    4.) decreasing the number of large size apps can greatly improve performance because they free up swap space on the ROM ... the other way that many of us have gone ... is to root our phones and move ALL apps to the SDcard ..
    This includes OS apps, default apps and third party apps ...

    Before i rooted ...at times i had only 6 or 7MB of free space on the phone's Rom and had the Low-Memory Indicator on All the time ... and a very slow laggy phone ... After rooting and Moving APPs and Cache to a ext2 partition on the sdcard ... the phone now has like 74MB of free rom space ... and will/can also use the ROM and the SDcard like ROM and has 709MB of total space and 502MB of available space on the SDCard for apps and ROM extension... and 57MB of ROM space on the Phone ... this makes the phone run very nicely and allows fro more powerful apps and more backgroud processes running ...

    So hope that helps you understand what is going on with memory in your G1 Dream ... and why many people root their phones ....

    And I have 292 apps on my phone ...

    PS: Oh I had been running a home replacement system "aHome" until just recently ... These run on top of the system and are memory hogs and will cause slugish lagging phone performance ...
    I loved my aHome and the features and appearance ... but ditching it made fro improved performance ...
     
  3. pjduncan

    pjduncan New Member This Topic's Starter

    Joined:
    Jul 28, 2009
    Messages:
    2
    Likes Received:
    0
    Yes, I certainly have read enough to see the big advantage to rooting. It seems crazy that Google/T-mobile don't allow the use of the SD card for app storage or app cache data. In fact I'm slightly peeved by the fact that this isn't made clear in the specs before one buys and starts lurking on the forums. It really is a design flaw.

    That having been said, I rely on my phone too much to risk messing it up with the very complicated rooting process. I might have tried it if I had found out about the need before installing apps and using the phone for so long.

    justjimjpc, yeah I realize that dxTop is probably part of the problem. Starting some apps and returning home certainly can take longer now... not always, but sometimes. I hadn't noticed that nearly as much before installing dxTop.

    Based on what you said I assume the ROM listed in the G1 spec is Flash... right? So apps are stored in Flash (256MB in G1 spec). They are copied (?) to RAM (192MB in G1 spec) to execute and use RAM for data structures? If memory runs low code and/or data is freed from RAM and reloaded from Flash later?

    I'm still trying to understand exactly how installing and running apps affects these memories. When I install an app it will then increase the "Used" portion of the "Storage" as listed in "System Monitor" which refers to Flash? When apps run in foreground or as services they increase the "Memory Used"? What triggers the low memory warning? It seems the solution to this is removing apps, so I assume the warning is for low available Flash, not RAM? Is the 96MB of Memory listed as available in System Monitor simply the amount left over from 192MB after the OS needs are removed?
     
  4. justjimjpc

    justjimjpc Premium Member VIP Member

    Joined:
    Nov 3, 2008
    Messages:
    10,543
    Likes Received:
    210
    The memory reported in the phone settings is the Flash Rom where apps are stored and the phone can use as swap(cache) when RAM is running low ...
     
  5. Devious

    Devious New Member

    Joined:
    Aug 12, 2009
    Messages:
    2
    Likes Received:
    0
    justjimjpc, I'm curious what method you're using to run your apps off your sdcard. I've got my G1 rooted and I have a a JF 1.51 rom on it. I'm pretty comfortable with the whole "hacking" process so I'm not asking to be babysat but just maybe point me in the right direction? Thanks
     

Share This Page

Loading...