Welcome to CyanogenMod
|Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
Only 38 MB of 225 MB RAM free?
Posted 12 November 2011 - 08:18 AM
I'm using CyanogenMod 7.0.3 with slayher kernal.
Just opened ATK and it only shows ATK, SetCPU, and Facebook as apps that are running.
I need help....my phone should be able to free up more RAM than this, right?
Posted 24 November 2011 - 04:06 AM
And what's up with the post above me? What's this guy's rep?
Posted 24 November 2011 - 06:27 PM
I recommend that you do research on all of those. If you have any questions on what settings to use I could recommend what has worked for me. Also, I'm willing to help you with getting either setup or with providing the links if you need any of them.
Posted 27 November 2011 - 02:01 AM
what kind of settings do you use in swapper 2 then?
is there a big difference in kernals? can i try a new kernal without wiping and flashing my current rom? i'm running cm 7.1
Posted 28 November 2011 - 11:34 PM
Kernels are really a combination of preference and compatibility with your phone. I've tried a bunch of kernels but Prime's deprimed kernel has worked best for me but everyones droid will function differently and it may not be the best choice for you. Give it a test run if you want.
You do not need to wipe between flashing kernels but a nandroid backup is vital! You may want to wipe the dalvik cache between kernel test drives but it isn't necessary.
Posted 29 November 2011 - 06:13 PM
First, you are better off creating a swap partition than using a swap file on the SD card. The obvious problem with having a swap file present is mounting the SD card on a PC. In addition, you want to set the swappiness to something low like 10 given that (1) SD cards are *much slower* than physical RAM and (2) the swap partition won't fill up as quickly and bog down Android. Prime himself recommends a swappiness of 7, but 10 is just as good. He also recommends against 30 for the reasons previously mentioned. You can use swapper2 to set the swappiness. Here is some reading for you to decide for yourself:
On Page 7 a post by Thrax summarizes the discussion.
You will undoubtedly need to reformat the SD card in order to create the swap partition, but if you back up your SD card contents to another drive it's no big deal. You can use ROM Manager or something like GParted to partition your drive. While you're at it, you may want to look into setting up a SD-ext partition as well for your apps and using Link2SD to manage them. Move your apps on SD to the internal memory and then link them (app gets moved to ext and a link is created in the internal memory so it appears to be local). So your SD card will be partitioned like this:
FAT32 (Must be first; this is where your pictures and media files go)
ext3 (For your apps)
swap (Must be formatted as Linux swap)
The consensus seems to be that a 512 MB ext3 and 128 MB swap partition is best although it really is up to you. I personally have a 656 MB ext3 and a 128 MB swap. This gives you a ridiculous amount of room for apps and you won't have to deal with the hassle of the phone trying to relocate your apps on SD after unmounting your FAT32 partition from a PC (the ext partition won't be mounted). Do not try to move the Dalvik cache unless you want trouble. Just use the ext partition for your apps.
Some also suggest using compcache with a backing swap partition, but I have nothing but trouble with compcache. YMMV of course. Personally, compcache sucks and I can't afford to have my phone bog down when a call comes in. To quote another post:
I would be somewheres and someone would be like, "Yo, let me make a phone call." I'd be like, "Oh-kay! Ohhhhh wait, I have to reset my frackin compcache. Hold on my damn phone is really slow, I'm waiting for the homescreen to show up. Normally my app drawer loads alot faster, hold on, got to find that terminal app. Cool, compcache is clean! Oh snap, where did that guy go that needed my fone."
On kernels: Definitely look into the deprimed kernel but again YMMV when it comes to kernels.
As for the V6 supercharger, I have had mixed results with it but with the swap partition I changed my minfrees back to 6,8,26,28,30,32 from much more aggressive numbers.
In the end however I went back to 6.1.2 as 7.1 seemed to bog down after a day of use necessitating a reboot. Not to mention I still had problems with the camera app. Same setup.
Edited by AlphaMack, 29 November 2011 - 06:14 PM.
Posted 02 December 2011 - 04:47 AM