Moved cache. Browser still eating up memory - G1 Android Development

So, I moved all my caches to the SD card, but the browser is still eating up memory. 17mb worth so far.
Why?

Henchman said:
So, I moved all my caches to the SD card, but the browser is still eating up memory. 17mb worth so far.
Why?
Click to expand...
Click to collapse
Which method did you use to execute CACHES to SD?

I've wondered about this as well since I've moved all my caches, and yet everytime I launch the browser I get a low space warning.

Just started happening to me as well, I haven't moved all cache to sd card though.

Henchman said:
So, I moved all my caches to the SD card, but the browser is still eating up memory. 17mb worth so far.
Why?
Click to expand...
Click to collapse
where are you checking browser cache? because if you look under the applications you will always see the size of the cache .. no matter where it's located .. under my applications it states i have about 100M of space used on a 74M phone with 40M free .. how do you know it's "eating up" memory?

LucidREM said:
where are you checking browser cache? because if you look under the applications you will always see the size of the cache .. no matter where it's located .. under my applications it states i have about 100M of space used on a 74M phone with 40M free .. how do you know it's "eating up" memory?
Click to expand...
Click to collapse
See, that's strange.
I've moved apps and caches to the ext2 partition using a sript moveallcachesext2.sh
And my memory slowly kept going down to 7 meg.
I backed up my bookmarks and under applications deleted the browser data.
And I went back to 25 meg free.
But it's slowly going down again.

Henchman said:
See, that's strange.
I've moved apps and caches to the ext2 partition using a sript moveallcachesext2.sh
And my memory slowly kept going down to 7 meg.
I backed up my bookmarks and under applications deleted the browser data.
And I went back to 25 meg free.
But it's slowly going down again.
Click to expand...
Click to collapse
so how did you move the apps? or did you just move the cache files?

LucidREM said:
so how did you move the apps? or did you just move the cache files?
Click to expand...
Click to collapse
I used the instructions(or a script. don't remember which) that I found here on xda

You probably missed the app_thumbnails directory in the browser's data directory. This one was taking up far more space (17 MB in my case) than the cache when I was investigating why my all of my storage space was gone.
I'm not sure what this this is. The files in it don't appear to be images (the linux file command can't identify them, anyway), and it doesn't make a whole lot of sense for the browser to be keeping track of thumbnails of anything beyond tabs (which should die when the browser is closed -- not be collecting indefinitely -- unless of course there was a bug preventing them from being properly deleted). Does anyone know what data is stored in app_thumbnails?

Henchman said:
See, that's strange.
I've moved apps and caches to the ext2 partition using a sript moveallcachesext2.sh
And my memory slowly kept going down to 7 meg.
I backed up my bookmarks and under applications deleted the browser data.
And I went back to 25 meg free.
But it's slowly going down again.
Click to expand...
Click to collapse
moveallcachesext2.sh only moves cache.
That could be why your internal memory keeps getting lower when you dl apps.

xdavidn88 said:
moveallcachesext2.sh only moves cache.
That could be why your internal memory keeps getting lower when you dl apps.
Click to expand...
Click to collapse
No, actually. I moved the apps using a differnt script/command.
I didn't say it was getting lower using the Apps, I said it was getting lower using the browser.
Why oh Why did they make the G1 with such a pitifull small amount of internal RAM?

LUCIDREM, BTW, it's your JFvMOD I'm using.

how do you clear the cache once it's on the ext2?
Don't mean to thread jack, but didn't want to start a separate thread on sth. that may have been already answered. I just couldn't find it anywhere(and I read the whole 57 page thread on moving the apps to the sd card by Lucid, and then some more threads)Anyway....
I have moved the apps and data using LucidREM's MOD and everything is working fine. My only concern is how to clear the cache once it's on the ext2 partition? I'm presuming that's where i moved it with the lucidREM's copy.sh data script.
And is there any way of knowing which application/cache goes where, or viewing the ext2 files, cause I as well see a decrease of my intrnl memory. Not sure if it's a cache or an app, or both.
Thanks in advance!
P.S. Just wanted to say BIG THANK YOU! to all the devs on xda. If it wasn't for you guys I would've already given up on my phone.

ok i was having this same problem up till today when i found stumbled onto a post over a androidcommunity.com. i dnt have the exact link ill post it up later but all u have to do is run the "moveallcachesext2.sh" in the terminal emulator again and also for this to work you can't clear the browser in manage apps or within the browser. It should stay around 3mb all the time. Okay so after u run the script again browse around a lil bit and see if it fixed the problem. And if not open terminal emulater and navigate to the data/data/com.android.browser cache and type ln -s /system/sd/cache/webviewCache webviewCache and then browse around and make sure your broswer stays round 3mb...remeber dnt clear cache or ull have to redo the link

I'm having the same problem. With cache and history cleared, the browser is eating up 27 MB. I really need help.

if you did the moveallcachesfat32.sh, and you keep going to menu > applications > manage applications > browser > clear data (or something)
it will erase the symlink and therefore the browser caches to sd link will be erased and you would have to redo it.

Related

What apps are on my internal memory?

I am using the root ext2 version of apps2sd. While there is still a lot of space on my ext2, I'm also losing space on my internal memory.
I'm guessing these are certain apps. Why aren't these placed on my ext2? And is there a way to find out which apps these are and place them on the ext2 manually?
Sent from my HTC Desire using XDA App
It's application data that is on the internal memory. a2sd only moves the apk, not the data.
Any chance we can move the data as well?
Sure, try symlink-ing the data to the sdcard, worst case is it won't work. There are reasons it doesn't do this already, probably slower access time and the application data doesn't use much space so it's unnecessary.
Wow its very nice .........
evilkorn said:
Sure, try symlink-ing the data to the sdcard, worst case is it won't work. There are reasons it doesn't do this already, probably slower access time and the application data doesn't use much space so it's unnecessary.
Click to expand...
Click to collapse
Could you elaborate a little bit? Not afraid to dig into google search, but I'd like to know the theory behind... waht's symlinking? how do I achieve that? Note that Firefox Mobile alone takes 15MB (app data, that is), Maps and Flash grows very fast...
I'd pay for a Partition Magic/GPartED for Android to change partition size on the fly and easily, so I could increase that space and never bother again.

[Q] storage problem/free space -- what is taking up so much??

So starting off with this phone I know it doesn't have the best internal storage. When apps are moved to the SD some of the app stays behind on the internal storage, I know that. I have had 2 shifts. My first one i dropped, cracked the screen, and the insurance gave me a new one. On my first shift at the time I had about 70mb of free space left when I sent it in. Before sending it I made a titanium backup and restored that on my shift I have today. When I restored it I had about 120mb of free space. (NOT THE PROBLEM READ ON)
So the point is something in the system is causing massive storage to fill up over time, and its not apps. I have force moved apps and that only helps a little. Is it a certin cache that I can clear? please help!
At the moment I have 60mb of free storage, that is with the app cache cleared through App2SD
Right I have the following : System ROM 219MB , Internal 222MB , SD Card 8.32 GB . When you long press on an app in TB it should give you the option to move to SD card. You shouldn't have to force move an app. When you restored all your apps did you restore apps and data? Or just the app? Also after restoring with TB you need to make sure the app was restored to the correct place. There's an option I usually check in the preferances before I restore all my apps. It restores to the previous location you had the app. Hope that helps.
I restored the apps and data... This isn't a problem with tb, its a problem with some storage/cache something building up in the system
No I'm not using Tapatalk... I'm using the XDA Premium app, cause I got balls.
My email took up a lot of storage on my old hero because everytime I deleted something it still stayed on a new folder called imap/trash... it was taking up about 50mb so you might want to look into that
Sent from my PG06100 using XDA Premium App
In your sd card or internal? There was a folder on my sd called .trashes and it had everything I had deleted on my sd. Where exactly is it located? Ill look in root explorer.
No I'm not using Tapatalk... I'm using the XDA Premium app, cause I got balls.
Don't know if your restoring SMS with something. But if your are sometimes that takes up hella space. Did a phone that had over 25MB of SMS messages restore back onto it on internal mem.
i will see, i also use a tool called disk usage. you have probubly heard of it but it maps out everything and the amount of space it takes up. you can narrow the results to a certin cache or whatever. ive seen that apps like pandora are taking up space in the dalvik cache. Its only like a mb or 2 but still. do you know anything about apps storing things in the dalvik?
what is the dalvik even for anyway?
I've been trying to go back to stock today, so I've wiped a few times, but I've got 430MB total space internal, with 366MB free
and.....
i dont understand what this has to do with this thread
im.nick.hello said:
i will see, i also use a tool called disk usage. you have probubly heard of it but it maps out everything and the amount of space it takes up. you can narrow the results to a certin cache or whatever. ive seen that apps like pandora are taking up space in the dalvik cache. Its only like a mb or 2 but still. do you know anything about apps storing things in the dalvik?
what is the dalvik even for anyway?
Click to expand...
Click to collapse
I beleive dalvik cache gets recreated everytime you reboot. But, about Pandora is it on the SD Card? Or internal mem? I listen to a TON of music. When I had Pandora on internal it was up to 12MB .So I moved it to the SD card, only 536KB on internal now.
My app is on the SD but it is storing over 1mb on internal
If you have DiskUsage go to the [root required] section and press 'App Storage'
if you can find pandora you will see that most of it is stored in the dalvik cache
Sorry I don't use DiskUsage app. Your right about how much is on internal. Mine reads 1.28MB.
any idea what it is storing there?
Drawing a blank on this, I'll keep looking. See if I can come up with something. But I'd probably head on over to theMikMik and see if somebody there can help.
My biggest space hog when I had problems was email... Try clearing data for email or gmail to see what happens (maybe back up first)
Sent from my PG06100 using XDA App
Mail or gmail app..
I have both, a aim on the mail app and my gmail on the gmail app
No I'm not using Tapatalk... I'm using the XDA Premium app, cause I got balls.
i cleared my cache partition, not sure what was stored there but it doesnt matter cleared up 20mb... is there any other ways i can get more space??? why are apps storing data in the dalvik??
Any other suggestions here? My wife's Shift is having this problem. Constant notification about low storage space. Can't even download any new apps. I have not rooted her phone yet, and not sure if I will; I don't want to have her have to go without for any length of time, and I don't think she wants things changed around so much as she just wants the thing to work, not to have to tinker or troubleshoot.
Captain Spectacular said:
Any other suggestions here? My wife's Shift is having this problem. Constant notification about low storage space. Can't even download any new apps. I have not rooted her phone yet, and not sure if I will; I don't want to have her have to go without for any length of time, and I don't think she wants things changed around so much as she just wants the thing to work, not to have to tinker or troubleshoot.
Click to expand...
Click to collapse
Did you download a lot of apps? Try moving the apps to the SD Card. The path is Menu-Settings-Applications-Manage applications-Downloaded. Then just click on the applications one at a time. If the button says Move to SD card, and isn't greyed out press it. That should free up some space. If that doesn't work since your not rooted, I would just try a factory reset.
clear the folder /data/tombstones. App crashes and such create rather large files that can eat up quite a bit of space. Also check the cache folder at the root, failed market installs will have file fragments in there as well.

{Guide} It's not you, it's me. I need my space.

So since most are concerned with the allmighty "SAVING OF internal SPACE". Here is a sort of NOOb guide for just that and some the options that go with it. Some of these most of you may know but there are also some tidbits that I have found out about through trial and error, (No relation to forum member "Try-And-Error").
Obviously there is app2sd (2.1), app2ext, app2card, link2sd, native froyo app2sd and just plain not installing a bunch of garbage apps. There are plenty of threads about these and their uses, so I won't go into them
But did you know that you can also free up some internal memory space by just basic maintenance? You can install a Cache Cleaner from the market. I use Cache Cleaner NG (root) and CacheMate (root) which will clear your cache for you, Cache Cleaner NG will even clear your cache on your SDcard. Open Root Explorer and if you see a bunch of free floating cache files, those need to go. Wasted space. Small in the scheme of your SDcard, but still wasted.
So here we go (best part is at the bottom though):
Ok so you go into XDA on your phone, go to the themes page and look at what and how people are theming their phones or see some pix of someone's SetCPU profiles. All those develop a cache that takes up space on your phone and if you don't get rid of it, you'll run out (I have had mine up to 54mb before). Now lets say that you go to the market and look through some apps or update your apps (more on this later). This also generates cache, usually up to 2-4mb. Ever try to download something from the market and it says something like "not enough space". This not needed cache may be some of the reason.
Here are some tricks and apps that some of you may know and also some tricks that I have found that I am sure most don't know about.
SOME GOOD LOW MEMORY APPS:
Cache Cleaner NG and Cache Mate (both root and free-Cache Mate has a paid but the free one works just fine.)
Diskusage (free) ~ this one will show you a graphical version of your /data/apps and also you SD card to show you exactly what is taking up so much space. You can click on that thing and hit "Show" and it will take you to the app's page in Manager Applications. It also has a root function too that will allow you to see what is in /system, /cache, /data,…
Some sort of file manager to get to some things I'll mention below. (I use Root Explorer)
SOME MEMORY CLEARING TIPS AND TRICKS:
Home Launcher ~ If you have a 3rd party home launcher, see if it has the ability to long-press an icon to take you to its screen in the Manage Apps section. I use ADWex and if you long-press on say Market, it takes me to the same place as is I were to go to Settings->Applications->Manage Apps->Market. Instead of all that, just long-press on the icon and BAM! it takes you there. Here you can clear out your cache for the market or delete the data (if you need to do that). Or clear the cache of the XDA app b/c you looked at too many pix.
Browsers ~ These develop cache that takes up memory and space, especially the stock browser. If you use a 3rd party, you can get the settings to clear cache, cookies, passwords,…on exit. I use Dolphin, but I am pretty sure that most have something like this on them. (side note: most 3rd party browsers once exited will not run in the background unlike the stuck one)
Media ~ So you download a bunch of mp3's from the net or click on some pix and save it to your SD card. Or maybe you just felt like wiping your card and having a fresh start. Every time you reboot, you phone will scan media. No big deal, but the more you criss-cross things from PC to phone and back again, it can create a bunch of double files in your media cache on the phone. With the proper placement of .nomedia files (this prevents your media scanner from doing just that, scanning media- i.e. pix, jpegs,…Don’t place a .nomedia in your music, album art or DCIM files**bad), Every once in a while, I'll hit the Diskusage or go to Manage apps and clear the media cache. Then I got to my file manager and the DCIM->Thumbs and delete the .Thumbnails files (should be 2). Unmount the SD card and remount to start the media scan, pull up the Gallery and wait for the thumbs to come back (depending on how many you have, this could take awhile). By doing this you can get almost 5 mb back if you have a bunch of double scans in your media folder.
AND NOW FOR SOME TIPS THAT MOST COULD NOT KNOW:
Lets say that you have your phone plugged into your PC and for some reason you, in a fit of rage, jerk the plug out without unmounting it first. This creates a file that is put into your LOST DIR folder on your SD card. Anytime you don't safely unmount the SD card, it will create a file in that folder. In the scheme of the SD card, it isn't too much, but I don't like having useless items free floating about.
So you are downloading an update from the market and for some reason your phone freezes and the Force close-Retry-Wait doesn't work out for you. You have to do a battery pull. Frustrating I know and the memory takes a hit too. Every time you have to do a battery pull because of a freeze up or something of the like, it creates a TOMBSTONE file in /data. These are useless and can be deleted. If you are flashing ROMs and are constantly having to do battery pulls b/c market crashes or an app freezes, then you are creating a Tombstone file.
**Here is where your file manager (with root) will help. Go into /data and scroll all the way to the bottom and open /tombstone. There should be some files in there and depending on how many there are, I could be a nice chunk of wasted memory. Just select all and delete. They are not needed. Your internal memory should go up by doing this.
Same scenario, but now go into /data/ cache or /cache and you'll see Dalvik-Cache (don’t mess with this), Lost & Found and Recovery. If you tried to download an app and it got frozen for some reason and had to do a battery pull, the apk will be free floating in there, uninstalled. You can delete this. While it isn't in the Dalvik-Cahce folder, it is taking up space. Once you are able to download something completely and correctly from the market, it will populate into Dex correctly and won't be a free radical, as I like to say.
Obviously this is not all encompassing, but just some things that I have found along the way that some of the newer people may not know and just wondered about. And as usual, always make back ups and I am not responsible.
p.s ~ Didn’t mean for this to be a manifesto-sized, but some of the things above needed scenarios to make sure you understand.
Wow very detailed. Thumbs up for the effort to explain to us!
Sent from my Milestone using XDA App
Just bookmarked it, very useful!

[Q] Best solution for memory space problems?

Hey everyone.
So, I'm using Slim Bean (but it also happened in other ROMs) and eventually my phone starts complaining about short memory space. I have an ext3 partition and use Link2SD but for some reason, after some time it complains and I can't even update my apps. Which is quite frustrating... So this was probably already asked but anyway, what is the best way to avoid this and have no issues whatsoever? I have a Class 6 8 GB memory card, so there shouldn't be an issue for apps storage.
Stone7 said:
Hey everyone.
So, I'm using Slim Bean (but it also happened in other ROMs) and eventually my phone starts complaining about short memory space. I have an ext3 partition and use Link2SD but for some reason, after some time it complains and I can't even update my apps. Which is quite frustrating... So this was probably already asked but anyway, what is the best way to avoid this and have no issues whatsoever? I have a Class 6 8 GB memory card, so there shouldn't be an issue for apps storage.
Click to expand...
Click to collapse
In link2sd settings, move all 3 i.e. app, dex files and libraries to sdcard
Also, sometimes apps cache things on the system memory. You can find apps that help you clear up those caches and free up some space. Advance Mobile Care is a decent one that I've used.
ive also freed up 20-40mb just by clearing all mms sms messages.
Junior Einstein said:
In link2sd settings, move all 3 i.e. app, dex files and libraries to sdcard
Click to expand...
Click to collapse
I already had that from the beginning...
a_loo said:
Also, sometimes apps cache things on the system memory. You can find apps that help you clear up those caches and free up some space. Advance Mobile Care is a decent one that I've used.
Click to expand...
Click to collapse
Going to try that one then. Maybe it will help. Thanks.
a_loo said:
Also, sometimes apps cache things on the system memory. You can find apps that help you clear up those caches and free up some space. Advance Mobile Care is a decent one that I've used.
Click to expand...
Click to collapse
Oh the irony. I can't install it because of low space and I already deleted some apps..

[Q] Storage? Storage!

OK, I am having storage/space issues with my Blaze that are making the cameras inoperable (I keep getting a message stating there's a lack of memory or space on the SD card). I am running CM10 Stable on Android 4.1.2 with the CM kernel.
When I go into Settings and look at the Storage, here's what it says (I tried taking Screenshots but they didn't work):
Total Space= 1.12GB
814MB of Apps
252MB Available
Internal Storage= 1.4GB
208MB Apps
553MB Pics/Videos
4.78MB Downloads
SD Card= 3.69MB Total Space
1.99GB Available
Here's the thing: I have NO pics/videos, yet somehow 553 MB are being used for this. So what's the deal? Can someone give me the quickie/noob explanation? Or at least explain what's the best way to control your storage on the Blaze (and yes, I've used Search but haven't really found what I was looking for)? I would really appreciate it, this is a very annoying and frustrating issue.
Thanks!
Vinotas said:
OK, I am having storage/space issues with my Blaze that are making the cameras inoperable (I keep getting a message stating there's a lack of memory or space on the SD card). I am running CM10 Stable on Android 4.1.2 with the CM kernel.
When I go into Settings and look at the Storage, here's what it says (I tried taking Screenshots but they didn't work):
Total Space= 1.12GB
814MB of Apps
252MB Available
Internal Storage= 1.4GB
208MB Apps
553MB Pics/Videos
4.78MB Downloads
SD Card= 3.69MB Total Space
1.99GB Available
Here's the thing: I have NO pics/videos, yet somehow 553 MB are being used for this. So what's the deal? Can someone give me the quickie/noob explanation? Or at least explain what's the best way to control your storage on the Blaze (and yes, I've used Search but haven't really found what I was looking for)? I would really appreciate it, this is a very annoying and frustrating issue.
Thanks!
Click to expand...
Click to collapse
i think you never cleaned up ur cache and over time lots of crap got accumulated hogging up all your space...also u need to look into your thumbnails as they tend to stay over time even if you move the actual photo...all you need to do is to backup your apps and their data n then boot in recovery mode and do a factory reset and then boot and go to any file manager and move whatever pics and vids you have on internal storage(by change if u have any) to external storage and delete the DCIM folder then...if even that doesnot let you do anything i think you are in need to format your system, cache, data and dalvik and flash the rom u use fresh and start over...you will be good as new then for sure even if it takes lil more time to set up things as u want again but thats better than being frustated and not able to do anything...hope that helps you
Check the ".thumbnails" directory under DCIM (or camera, I forget). My daughter's blaze seems to like accumulating 100+MB files I'm there.
Definitely check app cache too. The Cheeseburger Network app was pulling 500MB of cache on my S2.
Sent from my Nexus 7 using Tapatalk
I was traveling but I read your recommendations and deleted a ton of files under DCIM folder. That seems to have fixed the issue for now, thanks so much. But I do need to re-flash the ROM anyway due to another issue so that will help.
Thanks! :good:

Categories

Resources