Tonight at 17:34, my Leo died a horrible death. everything just got slower and S_L_O_W_E_R until it rebooted. Strangely, the htc screen did not appear, only the flashing swirling panels. I understand that is just the UI and not linux that is rebooting.
I was interested in the fact that the dalvik manager ran out of memory. I thought tytung said that dalvik cache was located in /data, and according to df:
So, I would ask some kind experts to please have a look at this situation and help me to understand what happened, and possibly what I can do to prevent future recurrences?
I really shouldn't be answering this as I am far from an expert in anything much less Android. Also, keep in mind that some of this may not apply to ICS. Having said that..
How big is your Dalvik cache? It could, I believe, starve the system if it uses most of the working memory. If you don't know the size use terminal and enter
Code:
du -h -d 1 /data
and you should be able to spot it.
The Dalvik heap you mention can also be changed (up or down) if needed, in build.prop if I remember correctly.
More importantly perhaps you can look at Android's Auto Memory Manager which, in GB, is not set to be aggressive at all. If you find that at times (but not always) it takes several seconds to load an app chances are something is being flushed to make room. Setting the AMM to a more or a very aggressive mode may help.
If you want an easy way to do this use ROM Toolbox which has some predefined settings. I have actually set it beyond the most aggressive setting it has, saved it as custom and forgot about it.
Again, please keep in mind that ICS may be different - I am a few steps behind you guys.
--- Definition of an update: take old bugs out, put new bugs in.
The Following 16 Users Say Thank You to tytung For This Useful Post: [ Click to Expand ]
AKRRKA (28th February 2012), anderin (28th February 2012), Burag (28th February 2012), clio94 (7th March 2012), clyder (28th February 2012), deibit (28th February 2012), famewolf (28th February 2012), geenyous (29th February 2012), Lucadp (28th February 2012), mori90 (29th February 2012), Rattle001 (28th February 2012), sambafr (28th February 2012), SlyRder83 (29th February 2012), Szczepanik (29th February 2012), w0nz3r (6th March 2012), walts (28th February 2012)
You ask entirely to many well thought out, detailed questions that are not in the wiki or 1st post. You are totally ruining it for the rest of us.
I don't have an answer but was curious how long the phone had been running without reboot prior to it's crash and burn. Are there particular apps consistantly running at the time it takes a dirt nap? Did the phone seem excessively warm? My hd2 is prone to overheating and begins to act very flaky when it gets that way up till it reboots.
Sorry, I'll try to remember to ask more inane questions. Oh! What does the green button with the little picture of the telephone do?
The phone was running for 46 hours before it rebooted. Typically the following apps are running:
Terminal Emulator -- saving logcat as a text file
Google Services
DSPManager
Android Keyboard
Right now, that shows 142MD used, 269MB free.
I noted that the battery charge was unexpectedly low for the time of day, so I looked at the battery graph, and it showed a gradual decline from the morning until about noon, then a really steep decline until mid afternoon, then back to the gradual decline until evening when it crashed. I have since re-installed "Battery Snap" which produces an actual time-scaled graph for future reference. I have no idea what may have been running during the period of steep decline. I assume that somehow a key was held down in my belt pouch, preventing Leo from sleeping. Anyway, the phone was not warm at the time of the crash.
Walt
HTC Droid Incredible, CM9, PagePlus
Motorola Xoom tablet, JellyBean Wingray 127 ROM
Kindle Fire, CM 10 210120824 build from Hashcod
iPhone 4 jailbroken
Previous devices:
HTC HD2, JB-Beta1 [CLK], T-Mobile voice-only SIM.
Toshiba Thrive tablet, rooted stock 3.2 ROM
HTC HD2 TyphooN CyanogenMod 7 Nightly v3.7.5
8525 vp3G 3.62.3 no sim
8925 Ultimate-X2.V4 WM6.5, Radio 1.65
Hi... I have a strange problem. I install this rom and one of the suggested a2sd.. everythings works fine and I installed and configured all my apps. Now, I cannot download any apps from market! After I click" download", the download seems to start, but it doesn't... I have the progress bar but not the %... I clear data, tried hacked market,, set dpi to standard 240 but no result!
XDA Developer TV Producer Jayce released a video a … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?