[Q] About memory managment and spacecreleted problems in Samsung galaxy ace - Galaxy Ace S5830 Q&A, Help & Troubleshooting

My question to all devs that space and memory management is biggest problem in galaxy ace...
So why all devs not create ROMs which along with high space saving Roms...
I test each rom ..cyanogenmod also..it also has space problem my request to all galaxy ace devs that you should work on memory problem also???

There are several methods which basically add space from your ext sdcard into the mix.
Have you tried them?
Some roms offer this in their setup.

L Speed and Link2SD
For a better performance and battery life use:
L Speed[ROOT]
No background process to eat up valuable RAM
Contains tweaks packed in a nice UI
Shows tweaks compatible with only your phone
Regularly Updated
For more internal space use Link2SD
For better battery use Greenify with Xposed Framework

Related

Swap partition for SGS ?

Hi again guys...
In Linux we have a SWAP partition for some time if RAM (Random Access Memory) will full OR for speed up applications by buffering in swap partition.
(Recommend Linux SWAP partition size: half of RAM)
so Android is Linux based and have kernel like Linux. Is it work to make a SWAP partition for SGS with swap file system?
You don't want that...
Android doesn't wipe RAM immediately anyway, so apps which are open and shutdown can be restarted again quickly (unless the RAM has been reused).
Also, apps on Android are designed to be shut down whenever free RAM runs out (its in the development guidelines that all applications should expect to be shut down at any time). Since most Android phones use high-speed NAND memory, when properly configured, apps load quicker too
The problem with swap is that it can lead to thrashing and loss of battery life. It's good for computers (because generally, you would rather lose performance and ensure you don't lose work), but on Android, applications should be killable at any time, and should have mechanisms to protect their work anyway.
It's probably possible to create a swap partition/file if you wish (try to swapon), but I foresee some potential side-effects, especially if you don't want to spend a lot of time managing memory manually.
i didn't think about battery life.
Thank you so muchhhhhhhhhh
I was actually exploring this option last night and stumbled that the kernel does allows swapon commands. I remembered trying it earlier on a stock rom but it was not available then.
Why I need the swap was because of the frequent shutdown of my launcher pro due to apps contenting for memory. The live wallpaper and heavy Widgets like pure messenger pro aren't helping much either, after much usage the device just slows down, lags and silently kills the background apps. The "minfree" settings were also tweaked but with much less desirable results was seen...
So I downloaded an app called "swapper2" from market and tested via 2 methods; Swap file and swap partition.
The performance of a swap file that sits in the NAND is not really that great. In fact it kinda lags me when memory is being swapped in and out of it. I think its the same problem with the i/o lag problems with any other rom
Then I tried a swap partition on my class 6 SD card. Although the lifespan of the card would be shortened and the battery life would be impacted, the performance is better compared to the earlier method.
In either method, the amont of apps that can be left opened at the foreground and background had increased and doesn't lag as more apps is being launched. Not bad for me but well, I guess it's all up to the user of the device at the end. Just my 2 cents...
I'll try the swap file method again over at the ext2 partition created by the lagfix and see how it goes next. Not sure if anyone interested though...
Sent from my GT-I9000 using XDA App
It seems that using the swap partition doesn't have the lag compared to using the swap file method.
It may be due to the I/O of multiple storage (parallelism ?) is better than a single storage or writing into the raw partition is better in terms of performance than a swap file.
I'm done with my findings, the device still have 60mb free and never lags, I'm sold.
Sent from my GT-I9000 using XDA App

[Q]Advanced task killer and touchwiz

i got 2 questions 1- should i use advanced task killer and enable auto kill??
2- i really like touchwiz launcher and i don't want to change it but its always lagging btw am using modded touchwiz with 5 dock items and transparent appdrawer
soudy1994 said:
i got 2 questions 1- should i use advanced task killer and enable auto kill??
2- i really like touchwiz launcher and i don't want to change it but its always lagging btw am using modded touchwiz with 5 dock items and transparent appdrawer
Click to expand...
Click to collapse
First off all which ROM and what kernel are you using !!
i have some tricks to boost up ur SGS !!!
Ashtrix said:
First off all which ROM and what kernel are you using !!
i have some tricks to boost up ur SGS !!!
Click to expand...
Click to collapse
am using this rom http://forum.xda-developers.com/showthread.php?t=1117579
with arabic fix patch and modded touchwiz
any help??
Uninstall and reinstall the modded launcher? I'm not familiar with it, so I really have no idea what the problem is. Does your phone lag anywhere besides the launcher? If not, it's probably the launcher itself.
As for an automated task killer, that is useless. Android (Linux) manages ram differently from Windows: it loads things into RAM so you can use them faster, and it kills things when it needs more space. This means that RAM is being taken up by essentially background processes—no CPU cycles are being used, and no battery is being drained, they are simply held in RAM to ensure later usability. Killing these applications, even while not in use, simply makes Android launch more apps to utilize free RAM in the background. Therefore, by closing them, you're forcing Android to open more, which consumes CPU cycles, drains your battery, etc.
If you're interested in making your phone more responsive, and have been looking towards memory management to do so, I would strongly suggest using the 'V6 SuperCharger Script'.
Original Thread
Quick Tutorial
I use the MegaRam setting, which leaves plenty of memory free at any given time. I believe this is what you were wanting to accomplish with the task manager; however, again, Linux does not work like Windows. It has amazing benefits, though. Give those links a look.
upichie said:
Uninstall and reinstall the modded launcher? I'm not familiar with it, so I really have no idea what the problem is. Does your phone lag anywhere besides the launcher? If not, it's probably the launcher itself.
As for an automated task killer, that is useless. Android (Linux) manages ram differently from Windows: it loads things into RAM so you can use them faster, and it kills things when it needs more space. This means that RAM is being taken up by essentially background processes—no CPU cycles are being used, and no battery is being drained, they are simply held in RAM to ensure later usability. Killing these applications, even while not in use, simply makes Android launch more apps to utilize free RAM in the background. Therefore, by closing them, you're forcing Android to open more, which consumes CPU cycles, drains your battery, etc.
If you're interested in making your phone more responsive, and have been looking towards memory management to do so, I would strongly suggest using the 'V6 SuperCharger Script'.
Original Thread
Quick Tutorial
I use the MegaRam setting, which leaves plenty of memory free at any given time. I believe this is what you were wanting to accomplish with the task manager; however, again, Linux does not work like Windows. It has amazing benefits, though. Give those links a look.
Click to expand...
Click to collapse
That was awesome dude!!
nice post!
hey soudy1994 try the above post, i was gonna post that but he got it
topped with some extra easy tutorial !
These may also help you in boosting your SGS !
Build.prop tweaks (only if your ROM support for build.prop & init.d).
SAS Tweak.!
i think the above tweaks may have Juwe's Ramhack,i recommend go through em once and if the ramscript is not present you can have it, use the script manager (from the above tutorial )if you are a newbie !
I have phone patched with SAS tweaks+Juwe's script !
and finally would say try Jetpack ROM it has SAS tweaks built in and Solid kernel based on CF-root (semaphore)!
try my sign !

[q]Why SGS use 150MB of ram while xperia x10 use only 90MB?

game use more and more RAM, so... I noticed that wolf's rom on my father's x10 use only 80-90MB of ram....
... so Xperia got more free ram than SGS? Funny? NOT
I know I can't change it, but why Wolf's made damn light rom, and we got less free space?
Are the firmwares the same? Different firmware requires different amounts of RAM.
And yes, actually, there is something you can do about it. Check out the V6 Supercharger script. With that, you can change how much RAM the system keeps free.
I mean everything is closed. And yes I know the trick...
Still SGS with launcher took 120MB (fresh after flash) and 130-150MB after all Aps restore, SWYPE etc....
So clean Android here 130-150 with no apps running at background...
Xperia X10 I open setting, I did not clean any of apps, and Android took 88MB ...
It was surprise for me.
The worst part is that SGS got 512MB of total Memory vs 384MB. I got around 160MB free memory on Xperia vs 160-170mb free memory on SGS.
So only real possible way to increase free memory is to put to SGS Bigmem kernel that break 720p recording.
suntzu123 said:
I mean everything is closed. And yes I know the trick...
Still SGS with launcher took 120MB (fresh after flash) and 130-150MB after all Aps restore, SWYPE etc....
So clean Android here 130-150 with no apps running at background...
Xperia X10 I open setting, I did not clean any of apps, and Android took 88MB ...
It was surprise for me.
The worst part is that SGS got 512MB of total Memory vs 384MB. I got around 160MB free memory on Xperia vs 160-170mb free memory on SGS.
So only real possible way to increase free memory is to put to SGS Bigmem kernel that break 720p recording.
Click to expand...
Click to collapse
Again, if you're talking about free RAM with no apps running, then you're talking about how much RAM the firmware is using. If you want your phone to always keep more RAM free than it currently does, you can use various tweaks to modify Android's memory management—such as the V6 Supercharger Script that I previously linked to. If this isn't sufficient, then you can flash a Froyo ROM (instead of a Gingerbread ROM), since Froyo uses less RAM.
If you're asking why Android on the Xperia device is using less RAM, I honestly have no idea. But it's likely due to a difference in firmware.
My froyo uses 240mb of ram with no apps active. Just some widgets like facebook,clock,callendar...So i guess your ok with 150mb.

[DEVS can you Do it?] Better RAM managment

This Q is for active devs...
Can you guys do RAM to be like after installing V6 supercharger...
Supercharger is great but, it lag from time to time and it needs to be refreshed... So is it possible to modify stock android ram managment to be like supercharger...
(to tweak it actually, to modify minifrees like V6 SC??)
I think performance incrase will be massive that way! Better than some third party scripts.
If it's impossible than, allright.. but it's always good to ask, isn't it?
EDIT:
...oh .. I apologize, I accidentally posted this in dev section instead of general.. so don't mind please!
ANSWER IS: #2 post
der_mart said:
Hey Dare-Devil,
this Supercharger script actually does exactly what you asked for:
it modifies the settings of the internal/stock android RAM management,nothing more and nothing less.
greetings
Click to expand...
Click to collapse
Hey Dare-Devil,
this Supercharger script actually does exactly what you asked for:
it modifies the settings of the internal/stock android RAM management,nothing more and nothing less.
greetings
supercharger is good but , eat my batery !!
I like SC ..
Its better than ram mngr pro ..
Sent from my X8 using Tapatalk
One more question..
Is this possible to achieve more multitasking like FROYO on Gingerbread Roms without the things like:--Swapping,supercharger etc.
1. Gingerbread roms are bug free and with extra features but I can run only 3-4 application at a time
e.g.- suppose that I am downloading some files(100-400MB) with opera/dolphin etc in background and suddenly I have to open root explorer and install some applications then during the installation of these applications opera/dolphin automatically kill by the android and downloading stops.
2. FROYO roms are with less features and some bugs like DSP, A&V Sync.
But one thing that is impressive is that I can run 8-9 applications simultaneously.
Take the same example....I can download files via opera/dolphin in parallel with installing apps via root explorer, playing music, market downloading, Emails etc.
I don't know why there is too much difference. I think this point should not be ignored.
Ram manager pro + swapper + sd class 4
That's all you need.
PD: Supercharger it's laggy and doesn't installs easily...
KASHYAP9 said:
One more question..
Is this possible to achieve more multitasking without the things like:--Swapping,supercharger etc.
Click to expand...
Click to collapse
This is my point of the thread
KASHYAP9 said:
1. Gingerbread roms are bug free and with extra features but I can run only 3-4 application at a time
e.g.- suppose that I am downloading some files(100-400MB) with opera/dolphin etc in background and suddenly I have to open root explorer and install some applications then during the installation of these applications opera/dolphin automatically kill by the android and downloading stops.
2. FROYO roms are with less features and some bugs like DSP, A&V Sync.
But one thing that is impressive is that I can run 8-9 applications simultaneously.
Take the same example....I can download files via opera/dolphin in parallel with installing apps via root explorer, playing music, market downloading, Emails etc.
I don't know why there is too much difference. I think this point should not be ignored.
Click to expand...
Click to collapse
And I were telling this ages ago...
Gingerbread requires more memory for the OS itself than Froyo. It's as simple as that.
This is why our devices are already out of spec and we have to use many, many hacks to make it run to an acceptable level.
If you want to fix that, you have to analyse where this RAM is consumed and rewrite the code of these components more efficiently. This is actually google's job though.
now i'm interested about this part
wait till i release new optimizer
i'm pretty busy lately
new version released
link : Here My Optimizer
Guys use ram manager app by juwe11.it really does its job.buy the full version and use hard multitasking setting.
Sent from my GT-I5800 using xda premium
Auto Memory Manager. The idea behind it is simple, but dont restrict the RAM too much, it can **** up performance.
What swapper exactly does?
Please use Google uncle for this question u will get the answer.
As naa said we have to identify the ram eaters. And rewrite memory management segment for those modules. So the basic question is to identify the modules. For that we need a tool that will show the memory consumption.
Sent from my E15i using XDA Premium App

Ram management

hi,
i have notice that the ram usage is quite high on g note easily reach to 90% usage and will become slow. is there any way to use swapmemory on any kernel i have try few method but unable to create a swap file.
thanks.
Android manages free memory filling almost all the available ram with background applications choosen & launched by android
system itself. When the foreground app requests more memory the background apps are killed by the system freeing the requested memory.
This behavior can be changed tweaking some android system parameters/properties.
EG: In the ICS control panel, under 'developer' tab and then under 'applications' section, you find an option to limit the background
processes spawned by android system. You can set it at zero and notice that the reported freee memory should improve.
I can't tell to you if this can give more speed to your system
------
Installing a swap partition is not so easy, and swapping is slow as the mmc is (respect to the main ram)
Look at this post that explains how to enable swap partition on S III
http://www.xda-developers.com/android/swap-partition-on-the-galaxy-s-iii-for-virtual-ram/
Remember : is for S III so the method should not work with Note but is a good starting point to enabling the swap space on note.

Categories

Resources