Sprint HTC Hero :: Memory Leak / How To Figure Out Without Wiping?
May 12, 2010
I think I've got a memory leak somewhere. I'm running DC v2.08.1 and I've got a low memory error. It may be because I flashed from Fresh 2.0D to this without wiping, but I'm not sure. Does anyone have any ideas how I can figure it out without wiping. I'd really rather not wipe again.
View 3 Replies
Oct 20, 2009
I use advanced task killer to keep things under control, and handcent in favor of the stock msg app. I notice that I have upwards of 80mb free memory after killing tasks after a reboot. Over the course of the day, with only my ignored apps running, that number shrinks to 48-50mb. Does that indicate a leak somewhere?
View 6 Replies
View Related
Jun 3, 2010
I wiped and flashed fresh 2.1.2 and initially it gave me about 90mb free after a clean and fresh install. After I installed all my apps I still had about 70mb left. But during the past few days I've noticed the internal memory slowly decreasing or leaking even though I haven't downloaded anything new. I've lost about 10mb by doing absolutely nothing.
View 6 Replies
View Related
Aug 22, 2010
According to several statements and threads by several people: Froyo has a built-in feature that if you wipe it will RETAIN your apps (at least some of them). So if you are having issues with an app, and you wipe and re-flash, that app may still be there with the same issues. I have already experienced this. As far as I know, no other ROM has this issue.
While the phone is booted:
1. Menu>Privacy>Factory data reset
2. Go into recovery
3. Completely wipe everything and I do mean EVERYTHING
4. Move ROM back over to Sd card and flash it
View 2 Replies
View Related
Jun 8, 2010
I am finaly getting somewhat comfortable with flashing and nandroid backup/restores.
I forgot to wipe before restoring a nandroid (DC2.08.1) last night, and subsequently have made some changes. Everything seems to be working OK. I will make a new Nandroid backup.
Is there any benefit to then wiping and restoring that new nandroid backup? Or will the backup just re-install what I have just wiped? Sorry, I don't understand what exactly is being wiped.
View 5 Replies
View Related
May 29, 2010
I cant figure out how to send mms on mine and I am running sprint version(cdma) of the hero.
View 4 Replies
View Related
Dec 5, 2009
In Taskiller the amount of free memory is showing between 90-105mb. Is this normal? I have deleted text messages, cleared cache, deleting emails from inbox and trash etc. I going to get rid of a few apps too, but its a bummer if I cant have many apps due to it affecting memory!
Also I understand that if flash it with the Modaco custom ROM. I can create a swap partition, does this help a lot? Also would I lose quite a lot of the HTC Hero features such as Sense UI for example if I flash it with Modaco?
View 9 Replies
View Related
May 21, 2010
Has Anyone tried installing the first RUU leak after installing the Official release on their hero. Would this work to get root back? Just a thought. I have installed the official release, and I am very happy with it, and I will be moving to the EVO in June. Just wondering about this possibillity for those who want to go back to root.
View 1 Replies
View Related
Sep 25, 2013
today my s4 was sluggish in typing and everything, and the ram and device storage were loaded right up. and in my attempts to speed up my phone and clear memory i wiped the phone, i tried moving my pics and vids to my sd card. i dont know if they went but now i cant get my s4 to mount sd card or get anything else to read my sd card. i was wondering if i didnt my files didnt get moved to my sd card could i recover them from my wiped s4? i dont think i can but then again do i know, i wiped my phone to make it run faster.
View 4 Replies
View Related
May 12, 2010
Was wondering if you can root your phone after installing the leaked 2.1 RUU? And if you can, is it the same procedure and codes?
View 26 Replies
View Related
May 15, 2010
Latest HTC Hero 2.1 ROM leak [with how-to video] | DroidDog Android Blog
check it out. I am running 2.1 without rooting and took about 5 minutes.
View 31 Replies
View Related
Oct 27, 2009
If you guys are still suffering from this issue upgrade to the Maintenance Release, it fixes it for the most part, except for the occasional failure to connect. No ROM leak though.During the past few weeks my my Hero has been exhibiting signs of a ROM memory leak. It led to not being able to receive SMS messages even after hard resetting the phone. See these threads for that issue.
View 36 Replies
View Related
May 19, 2010
I had just posted on these forums about my phone not sleeping. That was with 1.5. The next day, I put the 2.1 leak on my phone. And that seemed to fix the problem and the phone's up time was far greater than its awake time. A couple days later - and once again, the up and awake times are the exact same and my battery seems to be going down faster. I've been poking around for any other posts with the same issue - but haven't found any.
View 2 Replies
View Related
May 17, 2010
How to download the new 2.1 leak to my hero? This is not only for me their are a couple of people out there that all.
View 3 Replies
View Related
May 19, 2010
Finally. I guess no need to download the official?
View 1 Replies
View Related
May 20, 2010
I'm in the process of re-installing my apps, trying to find a culprit that might be keeping my phone awake - and was wondering if anyone else thinks they've found some guilty parties. So far the only app I've installed is the HTC Battery widget. Everything else is stock from the 2.1 leak. I'll probably put the official rom on there eventually (especially if I still can't fix the awake problem), but since it doesn't seem to be any different, I'm not in a hurry. Now, my phone seems to be going right to sleep when I press the end button. My awake time is a fraction of the up time.I just started using the Seido extended life battery (1750 I think), and I've put the phone through some heavy use - a one hour phone call using bluetooth, several other shorter calls, some instant messaging, lots of texts, some internet use and camera use. And I've not charged it since leaving the house. So far, I'm at 57% - which far exceeds anything I've experienced before 2.1, and before the extended battery. Right now I'm looking at all-day use with the phone - which is ideal.My issue is that I want to prevent the phone from staying awake again. 100% awake time always seems to cut my battery life in half, if not more. There doesn't seem to be a clean way for me to do this. Even after I uninstall all of my applications, the problem doesn't seem to correct itself until I restore the phone to factory settings. For this reason - it's hard to pin down which application (or setting) might be the culprit.
View 6 Replies
View Related
May 18, 2010
I have to tell you, I am getting hella better battery life out of the leaked update versus 1.5 on the Hero. I am sitting at 1.5 days since last charged, and am at 50% battery. On the old firmware, I am possibly close to dead at this point. I wonder if the native support in 2.1 for the Sprint network is making that large a difference, or if wiping the phone somehow purged an energy guzzler from my machine. Whatever it is, I wondered if anyone else who updated is noticing a similar gain in battery longevity.
View 8 Replies
View Related
Jun 17, 2010
Java.lang.OutOfMemoryError: bitmap size exceeds VM budget I am getting this message in my log. As I investigated and found out while loading contact image this error comes.I checked size of the image file and it was normal so came to a conclusion that other processes filling up the memory and hence at the time this image is being loaded ,VM running low of memory.
My question is that, is there any tool to figure out which process is responsible for occupying memory so that we can look into the process for the exact reason.
View 8 Replies
View Related
Apr 16, 2010
Looks like it will be a few weeks before Sprint pushes a "bug free" 2.1. I install the leak via RUU exe file. Phone is trashed, completely useless as a phone, have to pull the battery reboot and quickly make a call before it locks up or crashes. Can you guys tell me how to roll back, hack, crack, smack, or otherwise install a working ROM?
View 35 Replies
View Related
Dec 15, 2009
I was trying to do a memory game on android, but i can't figure out the code that matching 2 button with the same image..
CODE:..................
View 1 Replies
View Related
Jun 27, 2009
If I create and release multiple AudioTrack objects, the GREF count continually increases which eventually causes an application crash. Even with a forced garbage collection, I end up with the same high GREF count at the end of the loop.In my application, I continuously create AudioTracks from variable lenght buffers.I guess I can try and use a fixed size pool of AudioTracks each with a buffer large enough to fit my longest sound, and try and reuse them.Is there a better/correct way to completely clear resources used by an AudioTrack?
View 5 Replies
View Related
Jan 10, 2010
I have been banging away at this one for weeks and I feel like I have exhausted my research capabilities. I am hoping that someone will see my error in the code posted below. The code is completely functional doing everything I need, but there is a major memory leak. When I try to track memory in the DDMS, the VM Heap tells me that my object count is relatively stable and the used memory is also relatively stable (it comes back down to a similar value after each GC after panning).
When I look at the memory pie chart, the free memory loses over 1meg of capacity with each map pan (overlay reload) and the Unknown memory grows. I have not found anything with the allocation tracker. Functional Summary: I load overlays onto a map based on data I get from polling my server. When I pan the map far enough I clear the overlays and load new ones.
MapFrontEnd.java (snippets): //header info private List<Overlay> overlays;
//in onCreate overlays = mapView.getOverlays();
// here I attempt to fully clean up my old Overlays for (Overlay i : overlays) {
if (i instanceof ParcelOverlay) ((ParcelOverlay) i).cleanUp(); }
View 4 Replies
View Related
Dec 4, 2009
In my app, I'm fetching data via HTTP and use the response string to create an ArrayList of objects. So what I'm doing once I get the response is:
String[] fields = response.split("<field>");
and use the field[] values like this:
ArrayList<Movie> movies = new ArrayList<Movie>(); for (int row = 1; row < fields.length; row += 9) { movies.add(new Movie(fields[row], fields[row + 1], ..., fields[row + 8]);
}
View 5 Replies
View Related
Oct 14, 2010
I have an application that uses a Service and some list activities. When the activities are opened, I can see the heap usage increase in DDMS. When the activities are closed, the heap usage decreases slightly. The service is still running in the background at this point. If the activity is started again by re-running the application and then closed, the heap usage increases again then decreases, but never returns to the original level before the activity was first opened. If it repeatedly (10-15 times) open the activity then close the activity, the heap size (both MB and # Objects) balloons!
I'd expect ListActivity's onDestroy to take care of itself when it gets destroyed. What am I missing with this? Am I using ListActivity incorrectly?
If I examine the heap using MAT, I see 10-15 ListView objects. Unfortunately, I've not got much experience with MAT, but I think it means that the instances are still hanging around rather than being garbage collected. Can anyone explain what's going on?
A test app similar to my real code is below. Create a new android application, add this to the manifest:
CODE:................
View 3 Replies
View Related
May 3, 2010
When I first boot up the phone and check the memory (after shutting down all the apps I don't want running) I notice my phone has about 220-250 MB free after leaving the phone on for about 2-3 hours, with no activity on my part, that number gets smaller and smaller. I just rebooted my phone again because it was down to 125 MB free with no applications running.
Also, "Android System" is consuming 65% of my battery life. I realize that number is inaccurate after a fresh reboot so I played with the phone for a good 4 hours running apps and such, so that I could get a good test of how much the OS is eating up in comparison to other apps. 65% is a bit much no?
View 6 Replies
View Related
Nov 24, 2009
I am experiencing a memory / resource leak on a T-Mobile G1 device with my application. I installed the "Task Manager" application from Android market and my memory usage is not monotonically increasing. It stays relatively flat over time. Furthermore, none of the other processes are chewing up tons of memory either (really, I can get into this state with just my app running). I am not experiencing this problem on any of the other Android phones (including Eris, Hero, and Droid).
The interesting thing is that if I kill my application, the phone is *still* very slow and sluggish. The only thing that seems to be able to get me out of this situation is a battery pull. If I run my application for about 3 hours, the phone starts to become very sluggish. Even simple operations like hitting the "home" button take many seconds. I'm not sure what to do at this point and am wondering where I can go from here.
View 3 Replies
View Related
Sep 24, 2009
In my app activity A creates activity B, however when the back key is pressed it goes back to activity A. This is a simplified version of my application. I would expect memory to be reclaimed when going back to Activity A. Going to activity B allocates more memory. I am using dumpsys meminfo to get the allocated kbs. How can I easily tell what memory is creeping? I do not keep any references to activity B. I know about the ddms allocation tracker, but wondering if there is a more better tool to figure this out.
View 2 Replies
View Related
Jan 6, 2010
I'm parsing a document with large text field. In my characters section I am using StringBuilder
currentStory.append(ch, start, length);
then in my endElement i'm assigning it to the appropriate field on my object.
if (name.equals(tagDesc)) { inDesc = false;
if (currentItem != null ) { currentItem.setSummaryText(currentStory.toString());
} currentStory.setLength(0);
} setSummary is public void setSummaryText(String text) { Story = text;
}
And I am running out of memory. If I change setSummaryText to something completely weird like this:
public void setSummaryText(String text) { char[] local = text.toString(
) Story = new String(local);
}
I am fine. I just cant figure out where I am holding that reference?
Story is a member var of this object initialized with "";
Note - assigning to local String variable instead of char[] - fails as well.
View 1 Replies
View Related
Aug 10, 2009
I know that's a subject which was discuss a lot of time and I try to find a solution since more than 6 day for the memory leak which appears in my application.
I've read this page: http://www.curious-creature.org/2008/12/18/avoid-memory-leaks-on-andr...
So, I don't use static member fields, I always use recycle() and I don't use inner class.
My application use a gallery and some bitmap. I use finalize to monitor garbage collection in each class of my application: protected void finalize() throws Throwable {try {Log.d("FINALIZE", this.toString());} finally {super.finalize();}
View 2 Replies
View Related
Oct 6, 2010
After several hours of searching for the cause of a Out Of Memory Error, I found a wierd problem with Strings. To keep it simple, trimmed it down to something like this:
ArrayList<String> someStringList = new ArrayList<String>(1000);
for (int i=0; i<1000; i++) {
String someBigString = new String(new char[100000]);
String someSmallString = someBigString.substring(0,1);
someStringList.add(someSmallString);
}
View 16 Replies
View Related