If you are having memory issues with (L)GB ROMS, try this...

This is a discussion on If you are having memory issues with (L)GB ROMS, try this... within the Liquid forums, part of the Custom Roms category; Like many of you, I've been plagued with too little memory on the OG on any GB ROM. I've tried Supercharger this, AutoKiller that with ...

+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 29

Thread: If you are having memory issues with (L)GB ROMS, try this...

  1. Senior Droid
    rsimpson's Avatar
    Member #
    23473
    Join Date
    Jan 2010
    Posts
    143
    Phone
    D1
    #1

    Thumbs up If you are having memory issues with (L)GB ROMS, try this...

    Like many of you, I've been plagued with too little memory on the OG on any GB ROM. I've tried Supercharger this, AutoKiller that with very limited success. I have a lot of apps running at any given time so it is what it is. Apps like Google Maps, the camera, Tweetdeck, Google Voice, start to not work reliably. However...

    I'm on LGB 2.6 now and it is great. I don't run any supercharger scripts or Autokiller. I do use Swapper2 however and man does it make a difference. I can say, for the first time since I've been on a GB ROM that the OG is singin' along very nicely and with LGB powering things, life is great. I got a new Anker Battery for the OG (Amazon.com: Anker 1500mAh Li-ion Battery for Motorola Droid 2 II A855 A955; Motorola Milestone 2 XT701 XT702 XT720 - White: Electronics) and am going on 23 hours since my last charge on moderate use. For some reason this battery doesn't give battery temps (does anyone know why?) but I do use SetCPU to monitor the CPU temps and it rarely gets over 110f (that's the cpu, not battery). I'm running Chevy .9ghz LV 5/31 kernel w/ min clock of .25ghz.

    All is well in the land of the OG. The sad thing is... I just turned the corner on my contract and am up for the $50 discount on new phone (big woop right?). Will hold off till the Vigor and/or rumored "Nexus Prime" arrives.

    Cheers all.
    Last edited by rsimpson; 08-16-2011 at 11:27 AM. Reason: typos
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Master Droid
    b-jammin21's Avatar
    Member #
    59448
    Join Date
    Apr 2010
    Posts
    803
    Liked
    44 times
    Phone
    Rooted Samsung Galaxy Nexus
    #2
    Could you enlighten us on what your settings are in Swapper2? I would like to use it, but I have no idea what it is, what it does, and what settings would be best. Thanks.
  4. Droid Ninja
    thaDroidz's Avatar
    Member #
    111730
    Join Date
    Aug 2010
    Location
    neptune
    Posts
    1,639
    Liked
    54 times
    Phone
    RazrMaxx/Droid1(retired)/dinc2
    #3
    Is this same principal as using compcache that us built into liquid's roms?

    posted tomorrow using the space time continuum app on my D1...

    *edited AGAIN
    I cannot seems to please the signature Gods, who shall I send praise to?
    new server if any of my links are dead notify me, I got new links!
  5. Senior Droid
    rsimpson's Avatar
    Member #
    23473
    Join Date
    Jan 2010
    Posts
    143
    Phone
    D1
    #4
    Quote Originally Posted by b-jammin21 View Post
    Could you enlighten us on what your settings are in Swapper2? I would like to use it, but I have no idea what it is, what it does, and what settings would be best. Thanks.
    It basically uses your SD card as swapspace effectively giving you more working RAM. I'm just using the default settings. If anyone has advice for good OG Swapper2 settings, we'd love to hear.
  6. Senior Droid
    rsimpson's Avatar
    Member #
    23473
    Join Date
    Jan 2010
    Posts
    143
    Phone
    D1
    #5
    Quote Originally Posted by thaDroidz View Post
    Is this same principal as using compcache that us built into liquid's roms?

    posted tomorrow using the space time continuum app on my D1...
    Good question. I don't know how the guts of Swapper2 works (does it compress the swap similar to compcache?) but the principal seems to be similar for both. I've never enabled compcache so I can't speak for it. If anyone has experience with either/both and can share knowledge, that would be great.
  7. Droid Ninja
    metalspring's Avatar
    Member #
    158915
    Join Date
    Jan 2011
    Location
    hermitage, pa
    Posts
    1,922
    Liked
    60 times
    Phone
    Galaxy Nexus LTE
    #6
    Compcache compresses a portion of the ram and stores some of the data of recently opened apps for quick access, so it does use a small part of your available ram.
    Swap however uses a portion of the sdcard as uncompressed additional ram and stores recently opened app data there. BUT it tends to be slower because most sdcards dont have great read/write speeds AND swap hurts your sdcard and can ruin the sdcard over time

    Sent from my Droid using DroidForums
    tweaks, hacks, and other goodies here
    current phone The GALAXY NEXUS LTE a​ll the
    stock-for now...
    previous phone the trusty ol' droid 1
  8. Droid Ninja
    danceswithbongs's Avatar
    Member #
    143140
    Join Date
    Nov 2010
    Location
    A TeePee outside of Detroit
    Posts
    1,040
    Liked
    56 times
    Phone
    Home
    #7
    Metalspring has a good point as far as swap file is not the greatest for sd health. But instead I partitioned my sd with an ext partition and a swap partition. ROM MANAGER can set this up. But copy sd to computer, as the sd will be reformatted. This is important because now rather than creating and destroying a swap file on the regular main part of the sd which impacts health, you have a designated space for your swap which is formatted correctly for swap. Apparently swap uses a different file system or management so the swap partition is specifically formatted for swap data. You could never move or store any apps on the swap partition as they need to be stored in a place with the correct file system set up.

    I have found that since I began using only swapper2 with my partition and completely dropped compcache, my experience has been great and I have seemed to avoid many of the issues that lack of memory causes.

    There are several possible reasons behind the smoother results. Also I will provide my swapper2 settings below. Basically compcache needs to have memory available to do what it is supposed to, which is compressing and decompressing memory and exchanging it or dumping it.
    The issue is that sometimes compcache hits a virtual bottleneck where it can't decompress and recompress because everything is all trying to go through the same "doorway" all at the same time. Think Three Stooges but in RAM form.

    My setup for swapper2 is as follows :
    256mb linuxswap partition
    Erased the swap folder name on first settings page and checked all the boxes.
    Set swappiness at 100
    Now the advanced settings page, check yes or on for all options
    No need to type in the location of the swap partition, as the app will populate that field with the correct info
    Enter busybox location in field provided, usually /system/xbin/busybox

    Give a reboot and see what you think. One last thing is I also up my vm heap to 60 plus or minus 2 just depending if I am trying to see if there is a particular sweet spot. But never any glitch with vm between 58 to 62.

    But I definitely don't have too many apps that run constantly and demand a lot of RAM.
    I like to freeze apps like maps or others with a giant memory footprint. Takes 10 seconds to unfreeze and open, and it still has the settings you had when you froze it.

    But there is a definite tipping point of too many widgets and apps that are constantly re syncing like Facebook, twitter, live scrolling news feeds or a live scoreboard widget.

    Hope any who try this, find they have great results.

    walkin the walk while tappin the talk
    danceswithbongs
  9. Senior Droid
    rsimpson's Avatar
    Member #
    23473
    Join Date
    Jan 2010
    Posts
    143
    Phone
    D1
    #8
    Awesome, thanks for the ^ info. Very helpful. Some questions...

    When you do the SD partition and copy all SD content to PC before hand... are there any more details about that? For example... seems like if you copy SD to PC, then partition the SD and everything on the SD is lost... what about all the apps that are stored there? I mean, I know all that will come back when you copy back from the PC, but in the mean time... just after the partition is created... won't the system get hosed up?

    What do you mean by "freeze"?

    And, there is so much talk about SD card degradation doing things like swap... what is your take on that? I've got the same card in there since I've had the phone... two years now. I read somewhere an analysis of what it would take to reach the tipping point on an SD card and it's something like 5 years with heavy IO.
    Last edited by rsimpson; 08-17-2011 at 09:20 AM.
  10. Droid Ninja
    danceswithbongs's Avatar
    Member #
    143140
    Join Date
    Nov 2010
    Location
    A TeePee outside of Detroit
    Posts
    1,040
    Liked
    56 times
    Phone
    Home
    #9
    rsimpson
    I am on tapatalk so I will answer within your quote below in CAPS since I can't change my font color

    Quote Originally Posted by rsimpson View Post
    Awesome, thanks for the ^ info. Very helpful. Some questions...
    NO PROBLEM
    When you do the SD partition and copy all SD content to PC before hand... are there any more details about that? NOPE, EASY AS IT SOUNDS For example... seems like if you copy SD to PC, then partition the SD and everything on the SD is lost... what about all the apps that are stored there? I AM GOING TO ASSUME YOU MEAN APPS YOU RUN USING APP2SD TECHNIQUE FROM FROYO. MEANING STORED IN ANDROID_SECURE. THOSE APPS WOULD BE DELETED SINCE THEY AREN'T ON A SEPARATE PARTITION, BUT RATHER A QUASI PARTITION THAT THE OS CREATES. SO DO A BACKUP FIRST AND COPY THAT TO THE COMPUTER, THIS WAY YOU CAN RESTORE THE BACKUP WITH THE APPS ON THE SD ONCE YOU COPY EVERYTHING BACK TO THE SD. I mean, I know all that will come back when you copy back from the PC, but in the mean time... just after the partition is created... won't the system get hosed up? NO SINCE YOUR DATA AND SUCH IS STORED ON THE INTERNAL PARTITIONS THAT ARE WITHIN THE DROID ITSELF. JUST MOVE ANY APPS YOU MAY NEED TO USE FROM THE SD OVER TO INTERNAL DATA.

    What do you mean by "freeze"?
    LET'S SAY YOU ARE BOOTING UP YOUR PC, INITIALLY IT NEEDS TO FULLY BOOT AND HAVE ALL THE STARTUP ITEMS GO THROUGH THEIR STEPS. IF YOU DON'T GIVE IT TIME AND JUST IMMEDIATELY START OPENING FILES AND PROGRAMS, YOU MAY WELL SEE THAT SUDDENLY THE COMPUTER DOESN'T SEEM TO BE DOING ANYTHING? THE ITEMS YOU SELECTED TO OPEN OR RUN MAY NOT OPEN UP. AND YOU MAY SEE THE CURSOR BECOME A SPINNING CIRCLE.
    THIS IS LIKE THE FREEZE, AS YOU HAVE OVERWHELMED SOMETHING LIKE THE CPU OR RAM CAPACITY AND CAN'T HANDLE EVERYTHING AT ONCE. THE FREEZE IS A STOP GAP TO KEEP YOU FROM PUTTING EVEN MORE OF A DEMAND ON THE ALREADY OVERTAXED COMPUTER SYSTEMS.

    And, there is so much talk about SD card degradation doing things like swap... what is your take on that? MY TAKE IS THAT YOU ARE MISTAKING ME FOR SOMEONE WHO KNOWS A LOT OF TECHNICAL ANSWERS ACROSS THE BOARD, I HAVE TO COME CLEAN AND TELL YOU I DON'T. ANY INFO I SHARE IS MERELY SOMETHING I WAS TAUGHT BY THOSE WITH THE KNOWLEDGE REQUIRED. SO MY TAKE IS I REALLY CAN'T SAY. I've got the same card in there since I've had the phone... two years now. I DO AS WELL. I read somewhere an analysis of what it would take to reach the tipping point on an SD card and it's something like 5 years with heavy IO. IF THAT'S THE CASE THEN IT SHOULD BE COOL. I BELIEVE THE UNDERLYING REASON THAT SWAP CAN BE BAD FOR THE SD IS SPECIFICALLY REGARDING A SWAP FILE/FOLDER. AS THAT IS PUT ON THE MAIN PART OF YOUR SD WHICH ISN'T FORMATTED FOR SWAP. SO YOU HAVE A CONSTANT ALTERING OF THE FILE SYSTEM FORMATTING ALL OVER THE MAIN SD WHERE SPACE IS AVAILABLE. SO I THINK IT IS MORE A CHANGING FORMAT TYPE OF SECTIONS ALL OVER THE SD AS TIME PASSES. THIS IS MERELY A GUESS BASED ON APPLIED LOGIC,SO IT IS NOT A FACT THAT I COULD BACK UP.
    HOPE THAT HELPS AND I HAVE FOUND THAT AS LONG AS YOU HAVE A GOOD BACKUP OF A ROM ON YOUR COMPUTER, IT'S PRETTY DIFFICULT TO ACTUALLY BRICK THE PHONE. DIFFICULT NOT IMPOSSIBLE.
    I JUST MESS AROUND AND LEARN THROUGH TRIAL AND ERROR. AND WHEN TROUBLE REARS ITS UGLY HEAD, I FIRST TRY TO MACGYVER MY WAY OUT. THEN, I COME HERE AND SEE IF ANYONE CAN HELP ME WHERE I'M STUCK.

    THIS IS A VERY HELPFUL COMMUNITY FULL OF MEMBERS WHO ARE GENEROUS WITH THEIR TIME AND SHARING THEIR KNOWLEDGE.

    BASICALLY STANDING ON THE SHOULDERS OF GIANTS.

    GOOD LUCK AND IF YOU ONLY WANT TO MAKE A SWAP PARTITION THERE ARE A LOT OF FREE SOFTWARE FOR PARTITIONING THE SD ONCE INSERTED INTO A COMPUTER. ONE I BELIEVE IS MIN PART TOOL OR A SIMILAR NAME.

    walkin the walk while tappin the talk
    danceswithbongs
  11. Master Droid
    lfylove's Avatar
    Member #
    129159
    Join Date
    Oct 2010
    Posts
    453
    Liked
    12 times
    Phone
    Enter Current Phone Model Here
    #10
    When I hit on it just says please wait? Droid 1 v6 supercharger aggressive 1, cm7 nightly 158

    Nvmind it worked
    Sent from my Droid using DroidForums
    Last edited by lfylove; 08-17-2011 at 10:32 AM.

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. DC Memory Issues
    By raptorspike in forum Samsung Droid Charge
    Replies: 9
    Last Post: 07-06-2011, 09:44 PM
  2. Memory Issues
    By NickWhit in forum UltimateDroid
    Replies: 3
    Last Post: 02-15-2011, 08:15 PM
  3. Memory issues
    By b-jammin21 in forum Droid General Discussions
    Replies: 6
    Last Post: 12-20-2010, 08:56 PM
  4. Rediculously Low Memory Issues?
    By moore00 in forum Team D1-MIUI
    Replies: 6
    Last Post: 11-30-2010, 11:20 PM
  5. Anyone having memory issues?
    By dbu in forum Koush
    Replies: 7
    Last Post: 09-01-2010, 02:32 PM

Search tags for this page

android set dalvik cache size
,
best dalvik cache vm size droid
,
best heap setting for droid charge
,
droid 3 swap memory
,
droid 3 virtual memory
,

how to format and ext4 partition thunderbolt sd card

,

memory issues droid charge

,

memory partition script droid x2

,

memory problems droid 3

,

og droid virtual memory

,
set heap using android terminal
,

swap partition droid 1

,
swappiness droid 3
,

virtual memory for droid 1

,
which partitions should use ext4 on thunderbolt
Click on a term to search our site for related topics.

Tags for this Thread