FORUMS
Remove All Ads from XDA

[Q] Dalvik generates large anr_history.txt

2 posts
Thanks Meter: 0
 
By shooorf, Junior Member on 2nd October 2011, 08:11 PM
Post Reply Email Thread
HTC Desire on official android 2.3.3 firmware (RUU)

Few weeks ago I found lack of free space on internal memory (/data).
I rooted my device, and got content from /data to my desktop.
I learned that file /data/data/com.android.htcprofile/anr_history.txt used all free space (about 40M).

Content of file - something like this
Quote:

"Binder Thread #2" prio=5 tid=7 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x40519c70 self=0x1bf9a0
| sysTid=268 nice=0 sched=0/0 cgrp=default handle=3079040
| schedstat=( 4624267571 103307952859 32755 )
at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=6 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x40516fe8 self=0x2ef860
| sysTid=266 nice=0 sched=0/0 cgrp=default handle=767584
| schedstat=( 5026946927 102209503282 34307 )
at dalvik.system.NativeStart.run(Native Method)

"Compiler" daemon prio=5 tid=5 VMWAIT
| group="system" sCount=1 dsCount=0 obj=0x40516228 self=0xbb4a0
| sysTid=264 nice=0 sched=0/0 cgrp=default handle=1410336
| schedstat=( 2003631608 99297851584 22341 )
at dalvik.system.NativeStart.run(Native Method)

I found some info about this in google:
1) ANR = Application Not Responding
2) dalvikvm stack trace file '/data/data/com.android.htcprofile/anr_history.txt'

What is it exactly and how can I stop it?
 
 
3rd October 2011, 06:41 AM |#2  
decmk's Avatar
Senior Member
Thanks Meter: 100
 
More
I have the same file, my is 2mb.
I deleted. After reboot i have new with 0 bytes.
I don't know how to stop this.

Sent from my HTC Desire using Tapatalk
Gingerbread 2.3.3 RUU Rooted S-Off with Link2SD partition 512MB
26th October 2011, 05:08 PM |#3  
darkpain's Avatar
Member
Flag Limassol
Thanks Meter: 33
 
Donate to Me
More
Today i realized that i have the same problem!!!
Mine was about 41MB and i dont know how and why was created!!
2nd December 2011, 03:14 PM |#4  
Member
Thanks Meter: 17
 
More
It's a log of crashes, which is of no use when you're not actively debugging. I have provided a solution and explanation here:

atlas.hasselbalch.com/android/anr-using-my-space

(Sorry, I can't link directly, since I'm a noob)
3rd December 2011, 02:43 PM |#5  
Junior Member
Thanks Meter: 0
 
More
Question
i've a desire running GB (official), and i've 147 MB free Internal storage (should), but after i rooted it, the internal used about 20 MB, and dont know what app used it, even i have factory reset the phone, clear storage, wipe everything, the gmail not yet pushed, it always the same, the internal memory used about 20 MB, can anyone help me, is this because the dalvik or else?

i've rooted my desire using revolutionary have an s-off, recovery using clockworkmod

just want to know, where the 20 MB goes
25th May 2012, 02:47 PM |#6  
speculatrix's Avatar
Senior Member
Flag Cambridge
Thanks Meter: 115
 
Donate to Me
More
for a while now I've been getting low space warnings, and each time moved some more apps to SD card. what puzzled me was I hadn't been installing new apps, just updating.

I cleared the dalvik cache and it only helped for a while, so I started digging some more, "du -ks * | sort -n" at the top of /data, and working my way down to the biggest space hogs, I found com.android.htcprofile directory had this huge anr_history.txt file!!

googled and found this discussion.

my anr_history.txt was 197MB, and given my desireZ running virtuousUnity doesn't have the largest data partition (?1300MB?) that was huge loss of space.

I renamed the file, rebooted, and then deleted it, and now I have 27% free space.
29th May 2013, 06:34 AM |#7  
Senior Member
Thanks Meter: 11
 
More
i do have the same problem. i have htc chacha with 150 internal memory. i managed to use combination of link2sd and titanium backup to move both of application files and data to my sd card so in result i had 130 mb free space left and the rest were used by android. aftr 2 week i found my freespace is decreased to 20 mb and it wasnt being used by apps. after looking for large files i ended up to find this file using more than 100 mb of my internal memory.
i deleted the file but it again started to gain size and become like 8 mb after 24 hour.

anyone came up with any solution?
29th May 2013, 10:44 AM |#8  
decmk's Avatar
Senior Member
Thanks Meter: 100
 
More
Quote:
Originally Posted by digitalmahdi

i do have the same problem. i have htc chacha with 150 internal memory. i managed to use combination of link2sd and titanium backup to move both of application files and data to my sd card so in result i had 130 mb free space left and the rest were used by android. aftr 2 week i found my freespace is decreased to 20 mb and it wasnt being used by apps. after looking for large files i ended up to find this file using more than 100 mb of my internal memory.
i deleted the file but it again started to gain size and become like 8 mb after 24 hour.

anyone came up with any solution?

Delete file
Make new file with same name
Set permission to read only
Change owner to nobody

File will remain 0 bytes

Sent from my HTC One X+ using Tapatalk 2
The Following 3 Users Say Thank You to decmk For This Useful Post: [ View ] Gift decmk Ad-Free
6th August 2013, 11:43 PM |#9  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by decmk

Delete file
Make new file with same name
Set permission to read only
Change owner to nobody

File will remain 0 bytes

Sent from my HTC One X+ using Tapatalk 2

Perfect - thanks. I did this using the "Root Browser" app. It stopped my partner's Wildfire S having the ever growing '/data/data/com.android.htcprofile/anr_history.txt' file. Great to finally get rid of the problem.

Previously, without doing the change of owner and permissions, the file soon grew and became an issue again after just deleting it.

Post Reply Subscribe to Thread

Tags
anr, anr_history.txt

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes