data\logs fills with heap-dumps - Eee Pad Transformer Q&A, Help & Troubleshooting

I have a tf101 with 32Gb memory. I was losing space quickly, so started searching where it has been. Removed different big games etc., to get some space back, but it was gone in a couple of days.
I finally found 11Gb of heap-dumps in the data\logs folder. Removed them all to free space. A couple of days later I noticed new heap-dumps.
Does anyone know what triggers the creation of these dumps, and what is more important, how the prefent theme from being created?

Someone was having this problem on a custom ROM not too long ago and IIRC whatever is in there is trash. You can pull it off and put it on your PC to analyze that way.
For it to not be repopulated, you can just set /data/logs permissions to User r and the rest blank. That way nothing gets written to it unless you are the one writing it.

I just found out that this is where my free space has gone.
I currently have 98 heap-dump files at 20-45 MB apiece in /data/logs occupying 3.5 GB of space, some dating back to 6 months ago. My guess is that a heapdump is generated every time an app crashes (my most recent files were generated two days ago -- that night, my XDA app crashed several times). A google search for *.hprof file extension shows that it's a Java heap dump file. (filename is "heap-dump-tm<TIMESTAMP>-pid<PID>.hprof")
Notice that the filename of the heapdump file shows the PID of the process that generated the dump. Next time I see it, I'll be sure to check my catlog for that PID. (I just rebooted my tablet recently trying to resolve my free space issue, so I can't confirm the PID right now.)
EDIT: Just confirmed it. I did a grep for xda, and the file contains a ton of data from the xda app, even containing full text of the posts that I was reading that night... Wow. So I guess all that stuff was in app memory...
I also have 8 "ramdump<DATE>.log" files which appear to have been generated around the same time I was getting RR/SoD crashes on this tablet. These logs are much smaller (128 KB). I wonder if this would have been useful for debugging SoDs....

Related

'Not enough storage is available to complete this operation.' <-- Lies :/

OK im annoyed now - i flashed a new rom last month and it was beautiful up until last week ish when all my streaming apps just stopped working claiming that 'Not enough storage is available to complete this operation.' - i get this error message (or variations) in rss hub, windows media player, TCPMP, the streaming media app, youtube video just fails, and others. really starting to p*** me off now as i cant do anything with my phone
i have over a gig free on the storage card and over 200mb free of internal flash - what the hell is going on!?
if anyone can shed some light on this i would be most grateful
cheers
fusi
ok well i give up forum searches have suggested the only 'fix' is to hard reset. lol that totally sucks i havent figured out whats causing it - one day it was working - the next it wasnt im gonna flash genesis tonight sod it so im banking on that clearing it out - hope this doesnt happen again
Edit - nevermind.
Dunno what's going on, but maybe you needed to check your temp folders. I've found big files in \windows\temp before after streaming hulu and other videos.
Get a memory management software like Memaid or Advacnced Config. and be sure everything except for PIE cahes to your storage card.
Then clean your system.
Thanks for the suggestions guys - i re-flashed in the end but if it happens again ill do as you suggest - though im pretty sure i had loads of space free on the flash and sd as well as ram
cheers!
Are you sure the message was for storage memory and not just memory? You can run out of virtual program memory pretty easily on a lot of roms (just read the 6.5 thread in hacking), even if you have plenty of free ram.
the message i got was exactly as is displayed in the topic of this thread - nice and vague isnt it ^^;
im pretty sure there were no memory issues of any kind on the device at the time of the problem - everything worked apart from streaming - pretty sure the OS got itself confused somehow - hohum!
Try creating a folder in \windows called "cache". Then see if junk appears there (it may require a reset to work). In sk tools, it shows \windows\cache as a junk directory, but I think you have to create the folder to see it.
thats quite an ingenious suggestion - if it happens again ill have a look and report the findings ^^;
cheers
fusi
Don't get too excited yet, lol. Yesterday, I downloaded some youtube vids to main memory and then cut and paste them to my sd card. But the memory wasn't released for whatever reason, even though the files weren't showing up anymore. I deleted them with sk tools, but didn't think of making the cache folder til later. I haven't been able to replicate the un-released memory since then.
Ok, so I was messing around with youtube (watching Danger Island, lol). I found that if I opened total commander w/o closing youtube (used voice command), there are a bunch of temp files in the windows\youtube folder. There was a 3 MB .dat file and a 10 MB temp.3GP file. The latter was clearly the video. When I closed youtube, all the temp files disappeared. I suspect that something is going wonky with your temp files clearing out, or that watching big streaming vids dumps a massive file into main memory that gives the errors. The only way to find them is to look while the streaming app is running. (You can pause it, I'm sure).

[Q] Internal Storage Full Issue

So I check my Xoom out this morning and Boom "Low on Space 'Tablet storage space is getting low'. It is impossible that I filled all of the space. I looked at my breakup and i have about 6Gb of music and it says the rest is completely full due to applications. I look at my applications but I only have about 3GB worth of application and data attributed to saves (manually counting). For the most part, besides the stock honeycomb apps, these apps are the same that I have on my Droid1. Which has much smaller storage. Somehow some app is taking up all the space (which i can't identify), the OS is corrupted, or I have a virus. Everything else has been pretty mainstream applications.
I have the OTA update and my Xoom has never been rooted.
Is anyone else having this problem?
A lot of people got this issue. It is being discussed in the Motorola official Xoom forum. But still no one know what's the root cause.
Sent from my Nexus S using XDA App
gogol said:
A lot of people got this issue. It is being discussed in the Motorola official Xoom forum. But still no one know what's the root cause.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Thank you for the quick response. I guess its good to know I'm not the only one. Hopefully it gets fixed soon.
The link to the issue on the moto forums is
https://supportforums.motorola.com/thread/46601?start=0&tstart=30
Hi Everyone,
For those users not yet experiencing this but wants to see whats going on, I made a video. There is also a way to check to see if this is occurring to you by checking out your internal storage on the Xoom.
http://www.youtube.com/watch?v=tWFeq0Qj3iA
Is there anyone else experiencing this issue on their Xoom?
It happened to me last night while playing WordFeud. I get the two line message "Low on space" and "Tablet storage space is getting low"
There is no way that I am using 25 gig in applications.
Thanks,
Dan
My initial guess is that it is Application specific. My xoom has 628Mb for Applications. I think maybe some app that each of you is using is continuing to pull in data and not deleting it over time. Maybe something like a news stream or something else. I would chat with the others having this problem and see what similar apps you have.
Just a thought. Sounds odd, I agree.. but.. a place to start. Maybe akin to a memory leak.
Thanks for the quick reply, eaglecomm. Your suggestion makes sense. In looking around a little this morning, I see that some people thought it might be the Google Body app, which I had installed. I uninstalled it, but it didn't make a difference.
It turns out that there is a fix coming in the next update.
The thread is at the Motorola Owners Forum titled 'XOOM Storage is Full' problem - 47 apps takes up 27 GB?
Since I am a new member here, I cannot post the actual link.
I thought I would post this info for any other Xoom owners that are have this concern.
I am glad to see it is being addessed.
Thanks,
Dan
My Xoom is not indicating that it is low on storage, but the applications do seem to be taking up an inordinate amount of space. Funky little bug.
On a positive note, it is good to know that the functionality of this device will only get better over time.
Tombstones
Are any of you able to look at the sizes of the files in /data/tombstones? I had the same problem and did some digging and found a tombstone file that is 19 GB. It appears to have been generated by a browser crash. If any of you are having the problem can you open a terminal and go to /data/tombstones and find the biggest file and type cat (name of biggest file) and tell us the name of the process (listed after pid). You may need to be rooted and may need busybox for cat to work. I doubt it's only the browser... I'm curious to know if it's a honeycomb thing with how it tombstones app crashes.
Have you tried using a cache cleaner ? I use 1 Tap Cleaner and Fast Cache Cleaner .
Try using DiskUsage to view what is using up your storage. If you're rooted it gives you even more options to view specific folders. If you've ever used WinDirStat then this is the closest thing android has to it that I've found.
https://market.android.com/details?id=com.google.android.diskusage
Although Moto is promising an update "soon" to fix this, the problem has been getting reported on for over 45 days now. Some people were hit with this early and some more recently - like myself. This one was sort of the last straw for me. I had to do a factory reset on mine (in Settings) in order to resolve this issue; which hasn't reared its ugly head again since. However, between that mess, and no SD card, SMS, etc, I finally got fed up and rooted mine so that I could use the Tiamat kernel and at least add a 32 GB SD card in the slot provided. Rooting also allowed for Clockwork Recovery (which I love) so making modifications is much easier. If and when Motorizon decides to provide us with the 4G update, then I'll flash it back to stock. However, in the right here and now, I needed a tablet for my work and didn't have the luxury to sit around with my hands tied and wait for Moto to finally have pity on us and provide what they hyped us with. The XOOM has become too integral a part of my work and home life. The product answered a lot of needs - some I didn't even realize that I had. I'll just have to do the extra step now of flashing back to stock when (and if) update time finally comes around. Until then, I'm moving forward and I've got WORK to do!! Yippee kyy-yaayyyy!!
I have this problem and looked in my folders trying to find large files using ES File Explorer. I have found a repeating set of folders here:
/sys/module/usbhid/drivers/hid:generic-usb/module/drivers/hid:generic-usb/module
These folders keep going and going and going. I tried to look at the properties of the sys/module folder but the file size kept going and going and going. I ran it all night and it was still running in the morning at 1.25GB and counting. Is it safe to delete the repeating set of folders? Does anyone know what these folders are used for?
Deanne
DeanneJensen said:
I have this problem and looked in my folders trying to find large files using ES File Explorer. I have found a repeating set of folders here:
/sys/module/usbhid/drivers/hid:generic-usb/module/drivers/hid:generic-usb/module
These folders keep going and going and going. I tried to look at the properties of the sys/module folder but the file size kept going and going and going. I ran it all night and it was still running in the morning at 1.25GB and counting. Is it safe to delete the repeating set of folders? Does anyone know what these folders are used for?
Deanne
Click to expand...
Click to collapse
Looks to me like a recursive bug where the folder or device is continually being created inside itself, it would cause everything from unstable os to complete unresponsiveness and even filling up the storage.
Macbots drool as I XOOM through the Galaxy to my hearts Desire.

[Q] how to find a corrupter file in tablet?

i've returned 2 note pro's thinking they were defective and realising now that the issue of rebooting was due to a corrupted file in my system, i have identified it is one of my comics files i had stored years ago on cd disc, the problem is there are like 1000 comics i can't check each one individually.. does anyone know of an app or a way to scan the tablet to find the rogue corrupt file?
originally when it caused the reboot the comics were stored on my sd card, the second time stored in the device storage and third time in device storage again.. apart from checking one by one is there a short cut way that will tell me which file is damaged?
i know years ago i remember encountering one of the comics would not open that was the corrupt file however i cannot remember which one it was it was years ago i last checked.
A simple corrupted non system file shouldn't be causing the issue. However a simple look at file sizes may point to an issue, it may be more related to filename structure if very long or has non standard naming conventions not used in Unix.
If you have the files on cd and are moving over just move a portion over at a time to narrow the problem down.
Sent from my SAMSUNG-SM-P907A using XDA Free mobile app
Connect it to a computer and let explorer search for 0kb files. Ignore the .nomedia and playlist files.
Any mediafiles that show up as 0kb are corrupt.
Sent From My Samsung Galaxy Note 3 N9005 Using Tapatalk
rodnok1 said:
A simple corrupted non system file shouldn't be causing the issue. However a simple look at file sizes may point to an issue, it may be more related to filename structure if very long or has non standard naming conventions not used in Unix.
If you have the files on cd and are moving over just move a portion over at a time to narrow the problem down.
Sent from my SAMSUNG-SM-P907A using XDA Free mobile app
Click to expand...
Click to collapse
Thanks maybe it is a file name issue. Im definitely sure it's the comics as all 3 have rebooted constantly because of iti just cant figure out wht it is. Is a filename which is too long likely to cause reboot?
i know it's not a software or firmware issue per se but i can't figure it out what's causing the reboot. Whenevr i play videos and lock the screen it reboots but it's only after i transferred the comics over
What would be considered a non standard naming structure..it is baffling why it keeps rebooting im transferring the comics away now to see if it stops
Only alphabet, numbers, underscores and dashes should be used, spaces are not great(depends on what you are doing). basically nothing else should be used(there are exceptions depending on Unix version but this is Linux) or Linux will hate the naming convention. Dots are fine also.
Did you load a comic app to read these or are they just. Jpg or similiar?
Sent from my SAMSUNG-SM-P907A using XDA Free mobile app
rodnok1 said:
Only alphabet, numbers, underscores and dashes should be used, spaces are not great
Click to expand...
Click to collapse
Lolwhut... :laugh:
I have about 80.000 pdf's and comics in one folder. ALL have spaces in the name.
Comics are usually in cbr, cbz (both are .zip variants) or pdf format. Can you honestly imagine having to load every single page in jpg? Lol.
Exclude the folder from mediascanner by dropping a .nomedia file in it, and scan the thing with Windows Explorer or Apple Finder for 0kb files. (regular search, in english the string is size:empty ) That should be more than sufficient.
ShadowLea said:
Lolwhut... :laugh:
I have about 80.000 pdf's and comics in one folder. ALL have spaces in the name.
Comics are usually in cbr, cbz (both are .zip variants) or pdf format. Can you honestly imagine having to load every single page in jpg? Lol.
Click to expand...
Click to collapse
Being unfamilar with how comics are stored is why I asked...
Spaces can be problematic based on operating system and interface, Unix nor Linux like them so I avoid at all costs. Just because an app allows you to read them doesn't mean it cannot be an issue.
Unix interpretes a space as space between commands when using command line, since OP problem may be when files are being read outside shot a weird combo is actually causing an issue.
When switching between Windows, Unix, VMS worlds and having them all need to read all files properly either from web servers being hosted on them or from applications being run locally, spaces are one of the biggest issues. That and forward and back slashes.
rodnok1 said:
Only alphabet, numbers, underscores and dashes should be used, spaces are not great(depends on what you are doing). basically nothing else should be used(there are exceptions depending on Unix version but this is Linux) or Linux will hate the naming convention. Dots are fine also.
Did you load a comic app to read these or are they just. Jpg or similiar?
Sent from my SAMSUNG-SM-P907A using XDA Free mobile app
Click to expand...
Click to collapse
they are scanned comics from the 90s i had the stored for about 10years theyre .cbr files optimised for reading in comic apps like perfect viewer.
do you have any idea what is causing the reboot? ive removed the files now no more reboot..very frustrating.
f sake it seems the reboot is back despite removing all the comics...not as much as before only once since this morning howeve it is back..it didnt happen once when i got the tablet till up till putting the comics in..however i havent really been using the tablet since then watching videos or doing anything intensive tbh so it's hard to say the cause..do you think it's definitely a rogue app or firmware issue rather than hardware?
this is the 3rd tablet i have had the first one kept rebooting all the time..i updated to the latest firmware and disabled all the apps i could that i dont use.. on my replacement i kept it as simple as possible i kept the original firmware but did not disable any apps let it run as normal as possible but did add the comics in..in the morning it rebooted.. so i returned it. now this one is the third time and it's so annnoying i have to think that if ALL 3 are rebooting it cant be a hardware issue right? i cant be that unlucky that all 3 have hardware issues so surely it must be right to assume it is all firmware related etc?
it is such hassle doing factory reset each time sorting it out one by one filling in passwords etc.. that it doesnt look like i can resolve it now.. the comics are removed yet it still is rebootin for all i know the device would have reboot had i did more ram intensive stuff like watching videos..am i just going to have to accept it? being thankful it isnt a hardware issue.
ironically my second tablet didnt screen flicker when i was using the original firmware
Short of factory reset not sure how you're going to narrow it down to hardware/firmware or software.
If you removed offending app and comics completely and dalvik cache was wiped it eliminates that..
F sake i did a factory reset yet it is still rebooting it seems to be after ram intensive stuff this cant be right? It can't be hardware because all 3 have done it i just can't figure out what's causing it it has 3gb ram nd power saving is off why does it keep rebooting?
I think maybe the sd card may have some things in it from the comics but i removed the sd card and it still randomly reboots could my contacts crashing be the reason? I disabled contacts and contacts storage as i do not need itif idont it keeps bri gingup the warning unfortunately contacts has stopped.
rodnok1 said:
Short of factory reset not sure how you're going to narrow it down to hardware/firmware or software.
If you removed offending app and comics completely and dalvik cache was wiped it eliminates that..
Click to expand...
Click to collapse
im not rooted so cant do dalvik wipe. Wht on earth could be causing it?
like i said ithas been fine since i got it before i put the comics in i removed the comics factory reset and it keeps rebooting still what the hell i honestly can't figure this out all 3 did the same thing im about to give up
I'm not sure what you are doing after a factory reset but what I would do is remove any SD card and do a factory reset again. I would not allow restoration of any other software (when you get to the portion of setup where it asks if you want to automatically backup and restore day no) and I would simply run the device bare bones for a day or two without installing anything to rule out any application that I might be installing.
Sent from my SM-P900 using Tapatalk
ok so i rebooted a 2nd time (jeez im getting fed up of this) and did not load the sd card just incase i also decided to set up a brand new gmail account so that it does not sync my contacts from the other google account in case that was the issue.
so far so good. i also formatted the sd card did not transfer the comics over and all is good.. now i do not know whether it is indeed the comics or whether it's because of my contacts storage on the other google account i originally used.. and i dont really want to test it to find out..originally when i used the previous google account and did not add any comics it did not reboot once.. so what's weird is after the first factory reset where i did not format the sd card as soon as i left it in the sd slot it casued the reboot later no matter what i did.. how the hell is this thing so sensitive that it reboots just by having the sd card in..its like there's a file in there that as soon as u put the sd card in it causes a reboot.. remeber i removed all the comics from the sd card previously and the device and it kept rebooting inexplicably..
so right now i can't figure out if it's the fact i formatted the sd card and factory resetted it or whether it's because i use a new google account?
do any of you guys know how or why something as innocuous as comic books or remnants of it in the sd card is causing a reboot?
Given that the best way to troubleshoot technical issues is to approach things in a logical fashion it's important to isolate things one at a time. You can either do that by removing one thing at a time OR by starting fresh and adding things one at a time.
Just to explain my previous post . . . if someone asks the question at times like this whether or not it's a hardware issue the first thing I jump to is to yank the SD card, factory reset (personally I prefer a full wipe to stock using Kies and a factory image file) and then to NOT install anything on the device . . that right there is fresh out of the box experience with no external influences other than any updates to preinstalled applications. If a person has the same issues with that then there's likely a hardware issue. Sometimes I see people assuming that they're not installing software after initial setup when in fact they are when they opt into Google's automatic backup/restore feature during lyncing to their Gmail account during setup. Its rare but it happens and at that point they're not evaluating a stock out of box experience, obviously.
Back to your last post . . its possible that your SD card has a bad sector on it and the act of formatting it simply erased files that would otherwise be scanned by media server/index services which was causing the reboot. One way to rule that out would be to use a computer and try to do memory testing of the card.
It can be difficult to narrow these issues down, as said I would run bone stock with no sdcard for a few days not even adding a Google account or any updates and see what happens. Google updates have caused me a few issues on other devices when updating an app and needed reinstalled even to clean things up is why i suggested no updating anything. The system is not going to scan the sdcard or use data off it unless called upon to do so. Adding sdcard and if a problem still switch to another even.
Recently a friend had a card that would only read certain movie files and then if reloaded onto card wouldn't read it then. Card was found to be bad(well it works for some files anyways) didn't show bad sectors either.
Sent from my SAMSUNG-SM-P907A using XDA Free mobile app
thanks for the advice.
well guys the tablet hasn't rebooted since meaning it must have been something in the comics which as soon as you add it to sd card or device storage and even if you remove all it's contents still leaves a lasting effect unless i format the sd card and factory reset.. i hate factory reseting it's such hassle going one by one spending days trying bit by bit when it really should just work out of the box with no problem.. however this prob isnt a samsung fault it's a rogue file or something in my comics folder which i cant figure out what it is?
do you know anyway i can scan the comics folder which is now on my laptop so i can fix it for any errors?
i bought this tablet specifically for reading comics and now i can't haha otherwise it'll reboot like crazy.. yes i know it's not the tablets fault it's my comics fold3er of scans where i cant identify the thing which is casuing conflict.. would checkdisk work?
im just fed up because i returned my original black wasted loads of petrol going round tryna find the same colour elsewhere ended up with white returned that and had to travel other part of town for the last black one and in process it's ended up costing me an extra 15 pounds total to get it as i lost the cashback i got buying the original and returning it plus the petrol plus also by returning i lost a goodwill refund.
anyway on plus side this one has less backlight bleed so pleased with that however the screen flickering issue concerned me which the other 2 did not have.. i've updated the firmware so no more flickering during video playback however i dont use high brightness so hard to say.. i do see random flickers from time to time but i think it may be slight glitches so bit paranoid.
anyway what is the best way to scan my comics folder in windows to identify bad sectors or anything corrupt that would cause the note pro to reboot?
i dont want to put comics back on or even read from a separate sd card as the evidence shows it'll reboot again unless i get to the root cause.

Help Resolving Bug: Android Is Optimizing Apps / Low Storage Space

I have found that across two different Roms, both on different phones i have came across this odd bug.
Current build is the Sprint Galaxy S 5 running the latest version of Rwilco.
Honestly though that's irrelevant.
The bug is this. Each time the phone is restarted i get the "Android is Optimizing" and it goes through a slew of apps. Afterwards i Miraculously have a slew of apps that needs updating. After about 5-6 restarts i then run into an issue of storage space.
When you do a scan of what the hell is taking up so much space you will come up empty handed.
However if you download a root file explorer like Es FileExplorer enable hidden files and System files and then navigate to:
ROOT/Data/Apps
You will see many versions of your apps that you have downloaded have duplicated with a _1 _2 _3 placeholder denoting each time the app has been optimized or updated. Lately ive been going through, deleting the oldest versions of the app, restarting and then running updates from the play store and it has resolved the problem only temporarily. I have no idea what is causing this or why.
Does anyone have a clue

phone is erasing my files

I noticed strange behaviour few days ago. In internal storage I creeated folder Apk where I am storing some downloaded apps for offline instalations in case I need them again. But every little apps are missing. For example today morning I have 47 apk files and right now there are only 7. Also I noticed that folder named RecycleBinHW is increasing so I assume that files are moved there somehow??? Before this phone owned Samsung phones for last 6 years and never experienced such issues. How to stop this weird action of my phone and did anybody else have same problem?
zic1 said:
I noticed strange behaviour few days ago. In internal storage I creeated folder Apk where I am storing some downloaded apps for offline instalations in case I need them again. But every little apps are missing. For example today morning I have 47 apk files and right now there are only 7. Also I noticed that folder named RecycleBinHW is increasing so I assume that files are moved there somehow??? Before this phone owned Samsung phones for last 6 years and never experienced such issues. How to stop this weird action of my phone and did anybody else have same problem?
Click to expand...
Click to collapse
Have you tried resetting the phone, to see if it makes a difference? Maybe worth getting a USB C pen to save APK's to? I know that Huawei have Petal Search which searches for all the APK's you need. Could save sometime?
I already have those apk files stored on ext. USB but I want to find how this could be possible... I am testing now - was created new folder with different name and put same files inside... I don't have installed any security app which can detect such apk files as potencialy unsafe...
Change settings in optimizer app. It’s set by default to auto clean.
Many thanks! Yes, optimizer was doing mess, I found and recovered files and disabled cleaning for future. I am using SD Maid for such purposes. this Optimizer is new for me because it is my first Huawei phone.
Hi, today phone again erased most of apk files from my folder. Before I disabled auto clean, I don't know how this reactivated again. Now, I don't know how to recover files, I can not find them anymore, it seems that this Optmizer app change settings in latest update or something. I am really pissed of with this app... Need any help!
I am still having this problem and it seems that other Huawei users have same issues: https://forum.xda-developers.com/mate-20-pro/help/mate-20-pro-delete-apps-apk-backup-t3916434
yeah same here.. i zip them and stay there.. only solution i ve thought
I never experienced such issue with any device in last 10 years since I am using Android phones. It is really makes me crazy. In Optimizer I disabled everything I could. This morning I downloaded few apk files and I just found that all gone from my folder... Unbelivable that I can not control my own phone...
Hello mates, same problem with my P30 and Optimizer app. It randomly erases some files that are recognized as junk but they aren't junk and not just apk files. I read that solution to remove Optimizer with ADB isn't the smartest idea. I disabled Optimizer settings to do "Auto-clean junk files". Is is enough or I could do something else?

Categories

Resources