IM logs me out sometimes when it's running in the background - G1 General

Hi.
I've tried IM+ and Ebuddy. They both do the same.
My problem is if i have a messenger program running, then minimize it, (i can see in the notification bar that it's still running). So what i do is open dolphin browser to surf the internet, after a bit surfing, i realize that i am not recieving any new messeges (yes, i have friends). So i try to open ebuddy just to find out that it logged me out.. I never happens if ebuddy is just minimized and i am at the home screen. I noticed it happens alot when surfing especially
While writing this.... oh.. could it be dolphin browser :O ?
(Btw. It happens after a little browsing, not instantly)

Android "bug" from day one. For me it happens when losing signal and getting it back, or changing from WiFi to 2G/3G or vice versa.
However it doesn't happen with the GTalk app. I think that Google spent some cycles figuring out the problem and fixed it. Now if we could get an app maker to do the same on the other IM protocols...

Ive read just 10 minutes ago in another thread about one guy with the same problem.
He installed swap space and it worked wonders.
at the moment im also installing swap.
Its slower than the built in android system to close the app and open it again, but it sucks to always get disconnected on every messenger...
ill report later
/BIG EDIT: It WORKS. Stayed online while browsing through huge webpages.
By the way... ive set it to 256mb
Yeah I know its stupid whatsoever, and yes, it lags a bit switching between apps and opening the keyboard, but damn, i have zero page loading time on switch and im stays in memory...
Im using about 40 megabytes of swap at the moment. counting. (only for market, browser and im app)
swapiness is 30
/edit: I need a nexus 512 ram sounds like a dream to dream users...
/edit: 10 webpages at once, meebo running, no lag at all... im happy
/edit: lots of stuff, 70 meg of swap, up to 5 sekonds for switching apps, very nice!
/edit: its 8. pages only. seems to be some kind of limitation (using cyanogenmod whatever.12.2)
>> Conclusion: IM APPS CLOSE because they don't have enough ram to live.

domenukk said:
Ive read just 10 minutes ago in another thread about one guy with the same problem.
He installed swap space and it worked wonders.
at the moment im also installing swap.
Its slower than the built in android system to close the app and open it again, but it sucks to always get disconnected on every messenger...
ill report later
/BIG EDIT: It WORKS. Stayed online while browsing through huge webpages.
By the way... ive set it to 256mb
Yeah I know its stupid whatsoever, and yes, it lags a bit switching between apps and opening the keyboard, but damn, i have zero page loading time on switch and im stays in memory...
Im using about 40 megabytes of swap at the moment. counting. (only for market, browser and im app)
swapiness is 30
/edit: I need a nexus 512 ram sounds like a dream to dream users...
/edit: 10 webpages at once, meebo running, no lag at all... im happy
/edit: lots of stuff, 70 meg of swap, up to 5 sekonds for switching apps, very nice!
/edit: its 8. pages only. seems to be some kind of limitation (using cyanogenmod whatever.12.2)
>> Conclusion: IM APPS CLOSE because they don't have enough ram to live.
Click to expand...
Click to collapse
Awesome !
Could you tell me what Class your memorycard is?
Sounds like good news. So. tell me if i got it right, here's how to swap;
(Start off typing "free" in the terminal check your current status)
1 - Format your SD Card
2 - I do this procedure, but EXCEPTIONALLY!: i do the linux swap partition to the swap space i want.
3 - Install the Droidsans Tweek tools from Market
4 - Install a terminal if you dont have it
5 - In Droidsans, choose option 1 to choose "Remount /System as Read/Write"
6 - Go to the terminal app
7 - Type in this:
Code:
dd if=/dev/zero of=/sdcard/swapfile bs=1024 count=[CHANGETHISVALUE]
Where it says "count=" You should add the value of your swap multiplied by 1024. If you want 265 mb swap space, Type in 1024*265= 271360. So the code will be:
dd if=/dev/zero of=/sdcard/swapfile bs=1024 count=271360
Click to expand...
Click to collapse
8 - Wait for it till finish.. Might take up to 1 minute or more
9 - Now.. Still in Terminal.. Type in these commands:
Code:
mkswap /sdcard/swapfile
Code:
swapon /sdcard/swapfile
10 - To check if its working, run this command, you should notice a difference.. Hopefully?
Code:
free
----------------
*Credits go this guy; http://androidcommunity.com/forums/f8/adding-swap-space-ram-to-g1-16325/
So. Thats what i would do. Is it right or will i crash it ?

Related

RAM management in rom 3.16

is it just me or is the RAM management (where WM closes idle apps to free up RAM) a lot touchier in the new rom than before? it seems like i just minimize opera to check my email and within 20 seconds its been closed, i cant even run IM+ in the background like i used to because it gets closed
is there any way to turn this off? or at least exclude some programs or lower the threshold? its really annoying
instead of pushing the "x" button on the touch screen, i would just push the hardware "ok" button and it minimizes just fine for a long time. im using dcd's rom btw
nope, still kills it within a minute, maybe i shoudl just stop running it at 13mb of ram free
im actually having the same problem with DCDs rom. i run wisbar desktop and it will shut off after 10 minutes. its very very annoying.
well i was runnign DCD 2.3.2 and it was fine, now im on 3.0.0 (built from kitchen) and its doing it again
any ideas?
That is strange indeed. We all know how bad windows is with RAM (not excluding vista/xp/mobile, etc). I was running wisbar advance to give me the "linux" look/feel, but i found that i would have to soft reset every day to keep the ram up. I used SKtools FreeUpRam to keep me going throughout the day, but it'd still be pretty low most of the time.
I stopped using wisbar and i have better ram management, but still not very good (though much better than WM6.0). I have HTC Home, metrix, and an rss, feeder, s2u2, narglz iphone dialpad running and my ram is at 15 MB. I did my last soft reset over 24 hours ago. So, 6.1 does have ****ty RAM management, but running the same thing on 6.0 i HAD to softreset usually every several hours (and that would be without the rss feeder running).
So while this post isn't necessarily helping, it's just a "this is my experience". After I flash to newest ROM (probably some point tonight), I'm going to run some tests as far as memory management is concerned. If I find anything, I"ll post it up, if i dont, then i dont.
On a side note, i switched to the simply everything plan, unlimted everything woot!
i havent had much issues with memory leaks/losing ram, whats annoying me is how fast windows closes programs that are minimized
2 experiences i just had recently, in opera mobile, browsing a website, i get an email, switch to messenger to read it, then switch back to opera, couldnt have been more than 20 seconds but windows killed opera in that time
just now before typing this, had IM+ open, was sending an IM to my buddy and i accidently hit the phone send button (which birngs up the phone) i close out (literally 3-4 seconds) and windows had killed IM+
now opera i can understand, it uses 6-7mb ram (i have 20 free on boot) but IM+ only uses like 700k, why cant windows just leave the little guy alone?
another thing i noticed is that it seems fine with leaving apps running, until i try to run something else, so IM+ stays in the background until S2U2 loads, then it kills IM+
Just a guess here as I can't flash roms until the weekend (I need the phone)
But Sprint included HTC_Task Manager and maybe it has been updated to shut down programs after a certain time limit.
Has anyone checked the HTC Task Manager settings to see if there is an option on timeout and closing?
well im guessing there is some sort of learning feature to the ram management, as IM+ and resco explorer (another app i use frequently) no longer get killed no matter how long they run or what other apps i run with those 2 in the background
so kudos to windows mobile
have you tried going to settings>system>task manager>button> and made sure you dont have "Enable the X button to end running programs" checked??
gah, i spoke too soon, its doing it again, its gotten worse in fact, WM has taken to closing IM+ when its the active window
That sounds like a problem with IM+ I was having earlier, it turned out to be a corrupted file in the install, doing a hard reset of the phone and reinstalling IM+ fixed it, but that obviously wouldn't fix your RAM troubles, but it might not be windows closing IM+.
Just out of curiosity, how do you get IM+ to eat so little ram for you? it's generally 1.3mb-4mb, which is fairly ludicrous (helps if I keep closing my extended conversations)
Lilinka said:
That sounds like a problem with IM+ I was having earlier, it turned out to be a corrupted file in the install, doing a hard reset of the phone and reinstalling IM+ fixed it, but that obviously wouldn't fix your RAM troubles, but it might not be windows closing IM+.
Click to expand...
Click to collapse
well as the title said i was having this issue on the leaked 3.16 rom (using IM+ 3.53) and now im having it with DCD 3.0.0 using IM+ 3.53, then updating to 3.55, so at least part of it is windows
i have noticed since upgrading to 3.55 though that it is very slow accessing anything else with IM+ running (like its spiking the CPU or something) so maybe this is an IM+ problem too
Lilinka said:
Just out of curiosity, how do you get IM+ to eat so little ram for you? it's generally 1.3mb-4mb, which is fairly ludicrous (helps if I keep closing my extended conversations)
Click to expand...
Click to collapse
probably because i just have AIM and gTalk connected, and usually only have 1 or 2 convos open
sorry to bump this thread (again) but i think i may have some useful info on why this seems to happen sporatically
currently im using a custom rom built in DCDs 3.0.1 kitchen and what ive found is that if i load a bunch of programs immediately after a soft reset (eat up a bunch of ram) then those (and other) programs will stay open until i close them manually
if i let it sit with nothing running then it will only let me have one program open at a time
my conclusion is that in the minute or so following boot it establishes a "baseline" for how much ram it wants to keep open, and closes programs when it gets below that, having programs open seems to force that baseline lower, thus allowing you have more apps in the background, ive been opeing skype and opera mobile to eat up about 10mb
im not sure if this is windows mobile standard behavior or if its the result of some other app i have installed (SPB pocketplus is the most likely suspect) i might make a backup and hard reset to tonight to see what happens with nothing else installed

How many apps do you have installed?

Now I'm not trying to make this into a competition but I'm just trying to get an idea of how many apps people have installed. I want to get an idea what is a lot and what the average is.
I have 159 apps installed and they are installed in my SD card.
How about you?
PS... EASY WAY TO COUNT YOUR APPS IS BY USING ATRACKDOG AND ONCE ITS FINISHED SCANNING YOUR APPS CLICK ON "VERSION TRACKING" ON THE BOTTOM. NEXT PAGE SHOULD DISPLAY YOUR TOTAL NUMBER OF APPS.
____________________________
AS OF 2-16
Okay the results are in so far... and we have an average of 64 apps per person and a high of 266 apps and a low of 3 apps.
Edit/Delete Message
i have apps on my sdcard to, got as high as 113 but went down to 40
I've got 139 installed here, but once the Market gets paying apps, I think I'll need to get a 16Gb sd card and increase the size of my ext2 partition.
...really you guys? I only have 4 installed
Holy crap you guys I only have 39
d00m said:
...really you guys? I only have 4 installed
Click to expand...
Click to collapse
I have 3 right now...
86 so far.
What the heck do you guys have installed??? That's like having 9 pages of iPhone apps...and barely using them.
i use ALL of my apps (not including the 5 games i have) some of them are extentions to other apps like oi convert csv, and oi voice notes and tts.
i've installed about 5 apps and thats about it!
What are they
Task manager
Hello Aim and a few others! Dont really need that many plus it keeps my phone running fast and smooth!
darkjedi said:
What the heck do you guys have installed??? That's like having 9 pages of iPhone apps...and barely using them.
Click to expand...
Click to collapse
Err, quite a bit, actually. I have a wonderfully powerful computer (with phone, wifi, internet access, etc.) in the palm of my hand, and I want it to do whatever I need it to do within a few swipes and taps
Note:
No kittens where harmed during photoshopping of the middle image to protect the innocent
I have 73 apps installed but about 20 I really dont need that are just for fun like the Mr T sound board. I dont think I could ever get as high as some of you guys.
I didn't realize I had that many. I have 123 so far (didn't really look very carefully but I'm sure that includes some of the stock apps that came preinstalled). I don't even worry about space anymore now that all my apps are being ran through the SD.
Yikes.....
Erm.... thought more people would be closer to what I apparently have amassed --- well color me surprised.
I currently have 266 apps installed.
Here's a screenshot of aTrackDog - incidentally, is there any other way to display total # of apps??
Last count 102 here.
Holy Batman! 266 apps? haha. Here are the apps I have.
elikser said:
Erm.... thought more people would be closer to what I apparently have amassed --- well color me surprised.
I currently have 266 apps installed.
Here's a screenshot of aTrackDog - incidentally, is there any other way to display total # of apps??
Click to expand...
Click to collapse
Yes click on version tracking on atrackdog. It will show you there. I just put this in the main post too so people dont have to count 1 by 1.
40+ and all of them are on internal memory.
83 and growing
honestly guys i dont use many of the 83 apps i have but i do use almost 15 of them .
was just trying to see how many apps i can do on my sd card without feeling a little lag. have 1.1GB on EXT2 only 180MB is used and i dont think i can fill it. and by the way the phone is noticeably slowing down now. takes about 3 to 4 seconds to accept a call after i press it.
I actually use all the apps I've downloaded. I don't see any sense anything other than I need.

Cannot accept call, Slider wont work when the phone is busy.

This has happened to me numerous times and i'm wondering if its a common issue:
You receive a call and you cant slide the slide the slider to accept the call for the life of you. A sew seconds later you get a dialog saying that the Dialer app is not responding; Force close /Wait.
This usually happens when you're trying to load a web page or playing a game. (anything processor intensive)
Is there a fix for this? Maybe set the priority of the dialer process higher if you have root ?
britoso said:
This has happened to me numerous times and i'm wondering if its a common issue:
You receive a call and you cant slide the slide the slider to accept the call for the life of you. A sew seconds later you get a dialog saying that the Dialer app is not responding; Force close /Wait.
This usually happens when you're trying to load a web page or playing a game. (anything processor intensive)
Is there a fix for this? Maybe set the priority of the dialer process higher if you have root ?
Click to expand...
Click to collapse
this happened a lot with G1... but never with Nexus One. I even watched movies or listened to music etc., and still the call will come through immediately.
I wonder how many apps you have installed, and how much memory you have left?
Cleaning up all unnecessary apps you never use + checking all automated services (such as feed readers, news/weather updaters, Email probers, etc. should be set to decent times (e.g. my news feed reader never loads news automatically, only on app start, weather updates every 4 hours, etc.)
I have a LOT of apps installed (around 180). Only about 20MB internal disk space left.
In fact I frequently need to uninstall apps to install new ones
I don t have a lot of apps running. Usually about 40-50MB RAM free.
britoso said:
I have a LOT of apps installed (around 180). Only about 20MB internal disk space left.
In fact I frequently need to uninstall apps to install new ones
I don t have a lot of apps running. Usually about 40-50MB RAM free.
Click to expand...
Click to collapse
WOW WOW WO
180 apps? How can you possibly make use of them all? I have 120 right now, and already feel it's too much (like... do we really ever use Google Goggles, or Finance?, or Wikitude, or... or...)
I have about 90MB internal disk space left, and I don't want to go much lower than that
But I guess what's killing you is that a lot of these apps, although maybe not running permanently, will wake up from time to time, to check your location, to update this or that, to do this or that....
I would try to reduce the number a lot and see whether the problem goes away, maybe say at 50MB internal space.
I always tell myself, even if it's cool to show off an app to a friend, if I don't really use it a lot or at all, I can delete it and always install it again if I want to - that's the beauty of the market (also paid apps remain paid, and can be redownloaded for free, unless you have refunded them).
hope it helps
another thing that could give you another 40MB, + using the second memory bank which is currently not in use on stock is to root the phone and flash cyanogen's CM 5.0 beta5 (or wait until it's out of beta).
That's maybe why I have 90 MB left at 120 apps, and you have only 20 MB left at 180 apps.
This would also provide more RAM, and you could run smoother with the number of apps open.
but just do the rooting if you really want to, as it voids warranty
shmigao said:
another thing that could give you another 40MB, + using the second memory bank which is currently not in use on stock is to root the phone and flash cyanogen's CM 5.0 beta5 (or wait until it's out of beta).
That's maybe why I have 90 MB left at 120 apps, and you have only 20 MB left at 180 apps.
This would also provide more RAM, and you could run smoother with the number of apps open.
but just do the rooting if you really want to, as it voids warranty
Click to expand...
Click to collapse
Thanks for the advice. cyanogen's ROMs are very tempting, but looking at the changes it looks like it gets better every week. I think I'll wait for a bit before rooting and jump in at 5.0 FINAL.

Issue with Multitasking on Nexus One

I've noticed a serious problem with the way android handles multitasking, at least for me. if I am using opera mini browsing, and I switch to the built in browser and go to a bookmark and load a page, now when I'm done and I go back to opera mini it starts a brand new session of opera. I've lost my page that I had open.
my free RAM during this is around 35 mb. this is why I think we should have control over what runs in the background rather than the OS just loading up everything and deciding for us. I don't have any services or anything running during this time, and I'm on the stock ROM. anyone else experienced this? anyone think this is a serious usability issue?
I've been testing this every which way, using either the home button to switch or long pressing home button to switch, and every single time opera closes.
my current free
No, that is just the way opera was made.
Why blame the os its the app...
Yep, its only Opera. I don't use it anyways, but when I did - I do remember this issue, well I guess its an issue..
its not opera because this issue doesn't happen if you do not go to the bookmarks of the default browser. go ahead and try it out. I can go open 10 other apps and multi task, and I can still return to opera mini on the same page I left it at. its most certainly not a problem with opera mini. It's a problem with the way the OS handles certain events giving them priorities over others, I.e. default browser bookmarks gets some higher priority. so again if we had the ability to actually control what we want to run, it would be better.
Sent from my Nexus One using the XDA mobile application powered by Tapatalk
Wait a second, my Opera stays on the same page I left off on, even if I plenty of other applications open. A lot.. Maybe cause I'm rooted, and I have more RAM at the time? I am also using Dolphin, and the default.. and it still is leaving off at the same page.
RogerPodacter said:
my free RAM during this is around 35 mb.
Click to expand...
Click to collapse
This sounds fairly low.
How many apps do you have?
Are you rooted / using a custom rom?
Paul22000 said:
This sounds fairly low.
How many apps do you have?
Are you rooted / using a custom rom?
Click to expand...
Click to collapse
He said he is using the stock ROM in the first post. :/
Eclair~ said:
He said he is using the stock ROM in the first post. :/
Click to expand...
Click to collapse
Woops, missed that somehow.
Well... There's the problem haha!
ok maybe I jumped the gun, because I closed all my apps in one swoop and still only had 30 mb free RAM. so I did a reboot and now my opera mini does not close no matter what I do.
that's strange though, I guess its good to reboot once in a while as something ate up all my RAM. it was at the point where I closed every service and every app with a task manager, and still had barely any ram. my bad guys.
Sent from my Nexus One using the XDA mobile application powered by Tapatalk
RogerPodacter said:
that's strange though, I guess its good to reboot once in a while as something ate up all my RAM. it was at the point where I closed every service and every app with a task manager, and still had barely any ram. my bad guys.
Click to expand...
Click to collapse
Not your bad, Opera's bad. They should do a better job of saving application state so that when the OS shuts it down it doesn't cause you to lose the page you were on.
OK i'm having this same exact problem again. All day yesterday i was browsing with opera mini, press home button to perform other tasks, and come back and it is still showing the same web page i was reading.
but then last night all i had to do was check my email real quick, i switch away from opera with the home button press, and go back to opera and it now has to re-load the entire app, taking me to the start page again. surely this is some problem with the way android OS handles multitasking, no? i mean the app obviously was saving my page all day yesterday, just like its supposed to. but then it suddenly STOPS doing this.
my free RAM was again down near 30MB because the OS has loaded a million apps that i dont need. yet the OS then will close the one app i DO need, opera mini, while leaving all these useless apps running, which i didnt even ever need or open in the first place!!
am i the only one who has a problem with this method of OS task management?
i'm sure a reboot will free up all the RAM and things will work normally again. but isnt android a linux based OS? shouldnt linux be able to run for days or even weeks without the need to reboot the phone just to set the RAM back on track?
very frustrated!
If you have a mirror handy, kindly gaze into it and you will find your problem.
http://www.youtube.com/watch?v=BFytHoXdG3E
lol
RogerPodacter said:
surely this is some problem with the way android OS handles multitasking, no?
Click to expand...
Click to collapse
No.
Again, this isn't a problem with Androids method of multitasking, it's a problem with the way Opera was written. It's not saving it's state properly. It should, but they haven't written it properly.
Opera obviously doesn't behave the way you expect, so my suggestion is to use something else until they have fixed it.
I just can't get on board with that argument. so the OS is giving priority to apps like tuneWiki, which I haven't opened in 3 weeks, over an app that I just switched away from 10 seconds ago is the best way for the OS to operate?
I would agree if my issue happened every single time. but 95% of the time opera stays open like its supposed to. so that tells me it IS doing what its supposed to. but in certain situations it just magically disappears even though it was just in use a few moments before.
I agree that opera is not saving state properly when the OS decides to close it. but why can't the OS leave it open with all the RAM and CPU power this phone has? this situation shouldn't even be happening whether opera is coded right or not.
I made a post on the opera forums to see if maybe they know about it and have a solution.
RogerPodacter said:
I just can't get on board with that argument. so the OS is giving priority to apps like tuneWiki, which I haven't opened in 3 weeks, over an app that I just switched away from 10 seconds ago is the best way for the OS to operate?
I would agree if my issue happened every single time. but 95% of the time opera stays open like its supposed to. so that tells me it IS doing what its supposed to. but in certain situations it just magically disappears even though it was just in use a few moments before.
I agree that opera is not saving state properly when the OS decides to close it. but why can't the OS leave it open with all the RAM and CPU power this phone has? this situation shouldn't even be happening whether opera is coded right or not.
I made a post on the opera forums to see if maybe they know about it and have a solution.
Click to expand...
Click to collapse
I'm not sure you're understanding what everyone else in this thread is saying, so here's another way to think about it:
Can you name another big-name app that behaves in the same constant state-losing behavior as Opera?
RogerPodacter said:
so the OS is giving priority to apps like tuneWiki, which I haven't opened in 3 weeks, over an app that I just switched away from 10 seconds ago is the best way for the OS to operate?
Click to expand...
Click to collapse
The fact that it feels like tuneWiki hasn't been closed even though you haven't used it in 3 weeks lead me to believe that the tuneWiki guys have done it correctly and as a result the user can't tell if the app has been running the whole time or if it is actually loading up a fresh copy of it (loading speed might be the only way to tell). Opera with tabs open probably uses a lot more memory than most programs, so it's a good candidate to close down when memory is needed which is probably why it keeps happening to you.
What Opera should be doing is taking a snapshot of the tabs you have open when you switch to a different applications and writing it to permanent storage so that if it does happen that it get's closed down by the system, when it starts up again later it can reload all of the tabs. It doesn't need to store the page data, just the URLs. I don't know why they don't do that for Opera Mini as their desktop browser does it perfectly.
If you are interested, this developer video on Android application lifecyle might clear things up a bit:
http://developer.android.com/videos/index.html#v=fL6gSd4ugSI
Send Opera an email and tell them to use meta data to remember where you were.
RogerPodacter said:
I just can't get on board with that argument. so the OS is giving priority to apps like tuneWiki, which I haven't opened in 3 weeks, over an app that I just switched away from 10 seconds ago is the best way for the OS to operate?
I would agree if my issue happened every single time. but 95% of the time opera stays open like its supposed to. so that tells me it IS doing what its supposed to. but in certain situations it just magically disappears even though it was just in use a few moments before.
I agree that opera is not saving state properly when the OS decides to close it. but why can't the OS leave it open with all the RAM and CPU power this phone has? this situation shouldn't even be happening whether opera is coded right or not.
I made a post on the opera forums to see if maybe they know about it and have a solution.
Click to expand...
Click to collapse
Each properly coded app speaks up and says "I Have _____displaying on screen, I have ____data on hand and I'm doing______".
If the OS says "sorry bud, you gotta go away cause the guy that's always fondling me(you the user) needs to do something else, go away" then that program is killed and that information saved.
Next time you open up your app, the OS asks "alright, I just got finished showing this guy settings, now he needs you again, do you remember where you were when I sent you away?"
If yes, then boom, you are back to where you were. If not then, your app goes back to square one.
Seems opera mini isn't properly implementing their save states. It's an issue with the application not the OS.
RogerPodacter said:
I just can't get on board with that argument.
Click to expand...
Click to collapse
YOU MUST UNDERSTAND THAT THIS IS OPERA'S FAULT. THE DEVELOPERS DID NOT PROPERLY WRITE THE PROGRAM TO SAVE CURRENT STATE. IT HAS NOTHING TO DO WITH ANDROID OS
RogerPodacter said:
I've noticed a serious problem with the way android handles multitasking, at least for me. if I am using opera mini browsing, and I switch to the built in browser and go to a bookmark and load a page, now when I'm done and I go back to opera mini it starts a brand new session of opera. I've lost my page that I had open.
my free RAM during this is around 35 mb. this is why I think we should have control over what runs in the background rather than the OS just loading up everything and deciding for us. I don't have any services or anything running during this time, and I'm on the stock ROM. anyone else experienced this? anyone think this is a serious usability issue?
I've been testing this every which way, using either the home button to switch or long pressing home button to switch, and every single time opera closes.
my current free
Click to expand...
Click to collapse
This is already an issue that has been brought up in a previous post. They came to the conclusion that it was the app, and in all common sense, it is the app. There is no reason to blame the OS, that is Android. Might i recommend rooting your phone and uploading a fine ROM like CyanogenMOD? I think it would be on your best interest to do so.
so the OS is giving priority to apps like tuneWiki, which I haven't opened in 3 weeks, over an app that I just switched away from 10 seconds ago is th
Click to expand...
Click to collapse
The fact that it feels like tuneWiki hasn't been closed even though you haven't used it in 3 weeks lead me to believe that the tuneWiki guys have done it correctly and as a result the user can't tell if the app has been running the whole time or if it is actually loading up a fresh copy of it (loading speed might be the only way to tell). Opera with tabs open probably uses a lot more memory than most programs, so it's a good candidate to close down when memory is needed which is probably why it keeps happening to you.
What Opera should be doing is taking a snapshot of the tabs you have open when you switch to a different applications and writing it to permanent storage so that if it does happen that it get's closed down by the system, when it starts up again later it can reload all of the tabs. It doesn't need to store the page data, just the URLs. I don't know why they don't do that for Opera Mini as their desktop browser does it perfectly.
If you are interested, this developer video on Android application lifecyle might clear things up a bit:
http://developer.android.com/videos/index.html#v=fL6gSd4ugSI
Click to expand...
Click to collapse
just to be clear I literally haven't opened tuneWiki in 3 weeks, and have done many reboots since then. it was just an example of one of the many apps I see running in the background, which I've never opened in weeks, yet the one I just used is the first to close.
to the other replies, I'm not confused and understand what's going on. I just think its a major flaw whether opera is saving state correctly or not.
9 out of 10 times I can switch away, do my tasks, come back and opera is still there where I was browsing. I just don't like the inconsistency. I feel like I have nocontrol over what and how I want my apps to run.
also if opera mini DID have to save my tabs and reload them, then that would be horrible as it takes certain time to get the proxy server going and then reload the pages. the current method where It's just instantly there, still in memory, is the best way for it to happen. and it DOES work this way majority of the time.

Improving performance by removing virtual keyboard

My biggest problem with G1 is not having enough ram. While checking what sits in my ram with MemoryUsage app I noticed virtual keyboard. Since I almost never used it, I killed it. This caused home to reload, but I believe that keyboard has not been loaded instantly.
But after some time, I could see it there again hogging my precious 9MB. Since my phone has usually only like 15MB ram free, this was quite annoying.
After doing some research and BACKUP, since I am rooted I decided to rename the application to see if it will work. The app in question is LatinIME.apk. I renamed it to LatinIME.apkBkp. While I have been there, I did the same thing with LatinImeTutorial.apk. Both files are located in /system/app.
You have to remount it writable first, search this forum for how to do it.
After renaming that file (and maybe killing the app, don't remember exactly) my phone tried to reload home. It failed to do so, force closed and then tried again, resulting in infinite loop.
I rebooted the phone and it worked well, starting normally. Now I have more ram and performance of my phone improved a bit. My free ram stays a bit higher and apps are not so often removed from it.
Overall I am happy about the result and I am looking for more unnecessary stuff to remove.
I am on CyanogenMod 4 btw., so there might be different keyboard apps on other roms.
I have not found anyone mentioning this here, only some tutorials how to change default keyboard, so hopefully someone will find this useful.
If you have any suggestion how to sqeeze even more ram from my G1, bring them on please. (I know of swap, compcache, 10mb hack and keeping low number of apps)
raqua said:
My biggest problem with G1 is not having enough ram. While checking what sits in my ram with MemoryUsage app I noticed virtual keyboard. Since I almost never used it, I killed it. This caused home to reload, but I believe that keyboard has not been loaded instantly.
But after some time, I could see it there again hogging my precious 9MB. Since my phone has usually only like 15MB ram free, this was quite annoying.
After doing some research and BACKUP, since I am rooted I decided to rename the application to see if it will work. The app in question is LatinIME.apk. I renamed it to LatinIME.apkBkp. While I have been there, I did the same thing with LatinImeTutorial.apk. Both files are located in /system/app.
You have to remount it writable first, search this forum for how to do it.
After renaming that file (and maybe killing the app, don't remember exactly) my phone tried to reload home. It failed to do so, force closed and then tried again, resulting in infinite loop.
I rebooted the phone and it worked well, starting normally. Now I have more ram and performance of my phone improved a bit. My free ram stays a bit higher and apps are not so often removed from it.
Overall I am happy about the result and I am looking for more unnecessary stuff to remove.
I am on CyanogenMod 4 btw., so there might be different keyboard apps on other roms.
I have not found anyone mentioning this here, only some tutorials how to change default keyboard, so hopefully someone will find this useful.
If you have any suggestion how to sqeeze even more ram from my G1, bring them on please. (I know of swap, compcache, 10mb hack and keeping low number of apps)
Click to expand...
Click to collapse
Unused RAM is wasted RAM. The system will kill applications when more memory is needed. Don't worry about it.
And time for you to upgrade to CM6, don't you think?
lbcoder said:
Unused RAM is wasted RAM. The system will kill applications when more memory is needed. Don't worry about it.
And time for you to upgrade to CM6, don't you think?
Click to expand...
Click to collapse
Idiocy runs rampant at Dream forums, huh? Blame the stupid Advanced Task killer dev for getting all these idiots believing killing apps actually serves a purpose...
Anyway, if the OP is concerned about memory usage and bloat, I very much doubt CM6 is a step in the right direction. Maybe the latest CM 5 is a better option.
lbcoder said:
Unused RAM is wasted RAM. The system will kill applications when more memory is needed. Don't worry about it.
And time for you to upgrade to CM6, don't you think?
Click to expand...
Click to collapse
Yep, I am very well aware how does it work, but killing the app and loading the other one uses CPU cycles and makes system slow. Especially if it happens all the time as it does on my phone. This is actually the biggest source of laggines imho.
Plus, I am pretty sure, that system apps are not unloaded (some of them at least) or they are unloaded as a last resort. Which was also the case here. I could see other apps being killed (which I did not wanted to be killed) while unused virtual keyboard was happily sitting there.
For the record, I do not use task killer of any sort, does not make significant difference for me and occupies more ram than it saves. So please save that 'idiot' for someone else.
I do not plan to switch to CM5 or CM6, because those need even more ram as CM4 does. Afaik, those roms use hw graphics support which prohibits 10mb hack. I definitely keep 10mb hack on my phone. Did a lot of good to it's speed.
Okay so what setup are you using?
I have tryed every which rom out there since i got into it and i usually only use my phone for browsing youtube music and normal phone stuff and am find these new firmwares to be getting sluggish. Basically i want a lightning quick basic build. I am interested in what exactly you are using.
elltg said:
Okay so what setup are you using?
I have tryed every which rom out there since i got into it and i usually only use my phone for browsing youtube music and normal phone stuff and am find these new firmwares to be getting sluggish. Basically i want a lightning quick basic build. I am interested in what exactly you are using.
Click to expand...
Click to collapse
I am using last version of CyanogenMod from 4 series. That is Android 1.6 based.
I have apps2sd, 10mb hack and compcache enabled. No swap. Was not working for me. I removed all the apps that stay in memory like all widgets etc. The only things that is running in my memory permanently are: SeePU (to monitor my phone), JuiceDefender (to save battery), Battery Left widget and Astrid.
I set my phone to keep Home app in memory all the time, removed all the unnecessary effects in Spare Parts and removed virtual keyboard.
With this setup, my phone performs quite ok. Not as snappy as I would want it to be, but acceptable.
Hope it helps.
I have been using Super-D 1.9.3 with 10mb hack. Removed VPN, VoiceDialer, GenieWidget and some other misc things. Latest ADW instead of Launcher.apk, MusicMod 1.5 instead of stock music, latest 1.6 Phone.apk from Wysie. I also themed my lockscreen and Powertop widget. I has been about 4 months since I flashed it and it hasn't slowed down much at all (and I rarely reboot it). Not a singel FC! Battery lasts me thru the day (I have facebook, twitter and Gmail updating themselves). All in all, its one of the best set-ups I've used. I strongly suggest trying out earlier Super-D roms if you're looking for reliable daily driver (anything before 1.11 should be quite good, 1.11 is when it all went downhill)
Good luck.
raqua said:
I am using last version of CyanogenMod from 4 series. That is Android 1.6 based.
I have apps2sd, 10mb hack and compcache enabled. No swap. Was not working for me. I removed all the apps that stay in memory like all widgets etc. The only things that is running in my memory permanently are: SeePU (to monitor my phone), JuiceDefender (to save battery), Battery Left widget and Astrid.
I set my phone to keep Home app in memory all the time, removed all the unnecessary effects in Spare Parts and removed virtual keyboard.
With this setup, my phone performs quite ok. Not as snappy as I would want it to be, but acceptable.
Hope it helps.
Click to expand...
Click to collapse
You have options.
-Remove apps2sd and use the mtd patch method. That way you cut out the slowest link on the phone: the memory card. With the MTD hack, you can get maybe 150 megs or more of internal space for apps on a donut rom.
-Use the latest version of setcpu since it doesn't stay in memory. You can try an overclock, it will help but shorten battery life some. Maybe 576 or 595 would be enough of an overclock to make it feel faster yet not drain battery like crazy.
-Keep CC on and lock home in memory
-remove the battery widget lol.
=Delete juicedefender and just use the power control widget.
-I usually remove apps that tend to launch on their own, such as the genie widget or the voice search, as well the the VK since I never use those. It's easy enough to write a script or remove them by hand from the terminal. for example, to remove the VK, open terminal and type
Code:
su
mount -o rw,remount /system
rm -f /system/app/LatinIME.apk
-reboot your phone often, and try clearing your cache using cachemate or similar

Categories

Resources