Hi Experts!
I have an HTC Wildfire rooted with CM 7.1.0.1 stable installed. Love my phone and Cyanogenmod but I have an irritating problem with downloading large apps from the Market app. Basically there is not enough space on internal storage to store the file.
After some searching and investigation I think I can see the problem. The market uses the Cache partition as a temporary store for downloads. The dalvik cache is also located on the partition. Unfortunately the dalvik cache is so large that it is using up pretty much most of the cache partition (currently 31.62MB used leaving 8.38MB free and there is nothing else but the dalvik cache taking up space at present).
So I'm not sure how to resolve this. I've seen some posts where people have moved the dalvik cache and/or the Market download folder to SD but I'm reluctant to do that as I can imagine this will slow things down a lot plus cause problems if I remove the SD card, turn on mass storage mode etc.
This leaves me to the conclusion that I need a bigger cache partition. So I'd like to know, is this even possible or recommended? If not what other options do I have?
Thanks,
Neil
Try this
http://forum.xda-developers.com/showthread.php?t=1233340
Thanks for that Guide, that certainly looks helpful, although a pain to have to wipe my system and start over .
Something unusual I have noticed is that I seem to have two Dalvik-Cache's. One is on /cache/dalvik-cache the other is on data/dalvik-cache. They both have contents too so I would assume they are both used!
elneilios said:
Thanks for that Guide, that certainly looks helpful, although a pain to have to wipe my system and start over .
Something unusual I have noticed is that I seem to have two Dalvik-Cache's. One is on /cache/dalvik-cache the other is on data/dalvik-cache. They both have contents too so I would assume they are both used!
Click to expand...
Click to collapse
Try to wipe dalvik-cache and see if it appears again. Dalvik cache should be on data partition, but if you flash your roms through RomManager than it moves dalvick-cache to /cache for some reason.
Sent from my HTC Wildfire using xda premium
Did it work ok then?
Related
Using a2sd, one can move their dalvik cache to either the cache partition of their internal memory or the sdcard itself. The benefit being clearing up significant space in the /data/ partition for apps.
But my question is, from a performance standpoint, which is better? While internal memory is surely faster than sdcard memory, does using up part of the cache partition with dalvik cause other slowdowns that offset the benefit? Or is the difference between cache partition and sdcard measured in micro-seconds so that we wouldn't even know the difference?
Thanks
UPDATE:
I found that some Market apps did not want to download and install properly when dalvik was on the cache partition but had no issues when on the sdcard.
could you link me to the files i need to do this and tell me how you did it? i would search, but im at work on tapatalk.
thanks!
Rydah805 said:
could you link me to the files i need to do this and tell me how you did it? i would search, but im at work on tapatalk.
thanks!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=715116
Im trying to install some application updates from the market. They will not download because in CATLOG I see "NOT ENOUGH SPACE LEFT" ... the cache folder has 420K available. I tried uninstalling apps I never use but that didnt help.
What can I do to reolved this? I am using SPRINT LOVERS ROM which doesnt support moving the cache to the SD card. ANY ideas would be appreciated....
Update: I erase the dalvik-cache folder and when it re-created, I have 7.4MB of free space.. BUT the program I need to update is a 15MB download ... I removed a few more programs but still not enough space.. What I ended up doing is using ROOT EXPLORER to DELETE the entire contents of the DALVIK CACHE then do into market and it downloaded.
Is there a way I can determine what programs are using the most space in the cache folder? I need to free up space so I would have to unistall more programs but I only want to uninstall large programs (ones that will give me enough free space back)
Have you wiped your cache partition from the recovery? If that and wiping the market's cache doesn't help you'll probably need to uninstall some apps.
Sent from my PC36100 using XDA Premium App
xHausx said:
Have you wiped your cache partition from the recovery? If that and wiping the market's cache doesn't help you'll probably need to uninstall some apps.
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
Yes I did that.. BUT it rebuilds the cache and its filled up again. is there a utility I can use to see which programs take up the most cache space??
So what this basically means is that you have too many apps installed to be able to put your dalvik cache on the cache partition. By default it's on the data partition, and NOT the cache partition, but some ROMs move it to the cache partition by default. Or maybe you moved it there.
The idea of moving dalvik to the cache partition to free up space for more apps is self defeating. I don't get why anyone does it. The more apps you have, the more space you need for dalvik. So if you've run out of space on /data with dalvik there, you're probably at or will soon pass the point where you have too many apps to fit your dalvik on /cache. If you have few enough apps that you can fit dalvik on /cache, you probably could just leave it on /data anyway.
Basically, either:
1. Keep dalvik and the apps on /data. This may not work for you based on the fact that you've got a lot installed already.
2. Move dalvik to an ext3 partition if you've set one up.
3. Move apps to an ext3 partition, and leave dalvik on /data
4. Move both apps and dalvik to an ext3 partition.
Find the darktremor a2sd thread for details on how to do any of those.
Hey,
I have extremely annoying issue on my Desire. Everytime I am opening an app there is a delay between tapping the icon and displaying app (full loaded screen of the app). Sometimes it takes 3-5 seconds. You can imagine how bothering it is. I found out that when I do full wipe it is great again but it takes less then two three days and lags are back. The biggest dealy has Handcent, Gallery, etc. Sometimes opening settings is laggy too.
Any idea how to get rid of this lags? I think it started some time after rooting my phone. Could be the problem the number of apps installed on a2sd storage? I have currently 106 apps.
I am really desperate! I love Android but this is not the user experinece I would expect from such a system and such a smartphone!!
I use GingerVillain 2.7 based on CM7. I used CM7 before and it was the same.
Do you use software like setcpu to control the cpu frequency or using scripts/software to control the voltage?
MatDrOiD said:
Do you use software like setcpu to control the cpu frequency or using scripts/software to control the voltage?
Click to expand...
Click to collapse
I used JuiceDefender but I had this problem before I use it. There is also some performance settings in CM7-settings. Do you think the problem is somewhere in CPU settings?
I don't think so. Given the fact that after a wipe it works fine, I'd put my money on your davlik cache. As it grows bigger in size, combined with probably low class sd card, it gets slower. You have some tips&tricks how to move davlik to /data in the development section. Or simply buy a faster sd card.
erklat said:
I don't think so. Given the fact that after a wipe it works fine, I'd put my money on your davlik cache. As it grows bigger in size, combined with probably low class sd card, it gets slower. You have some tips&tricks how to move davlik to /data in the development section. Or simply buy a faster sd card.
Click to expand...
Click to collapse
I have Kingston 16GB class4. I know that class4 is not the biggest number but I read that Kingston is as fast as some other cards class6 and that in fact it is not necessary to have so speed card This is a new want I don't really want to pay for another one...
Move dalvik to /data? Do you think this helps? And a2sd storage will work the same way?
devcager said:
I have Kingston 16GB class4. I know that class4 is not the biggest number but I read that Kingston is as fast as some other cards class6 and that in fact it is not necessary to have so speed card This is a new want I don't really want to pay for another one...
Move dalvik to /data? Do you think this helps? And a2sd storage will work the same way?
Click to expand...
Click to collapse
Moving dalvik cache to internal /data partition often solves perfomance problems. That's why some developers do not move it to sd.
It won't disturb the working of a2sd, because has two different versions:
A2SD: All apps you install will be automatically moved to sd-ext
A2SD+: All apps you install plus dalvik cache will be automatically moved to sd-ext.
So when you move dalvik cache to /data, you are using "only" a2sd, but it's still working the same way.
But before this I would try wether wiping dalvik cache in recovery solves your problem.
MatDrOiD said:
Moving dalvik cache to internal /data partition often solves perfomance problems. That's why some developers do not move it to sd.
It won't disturb the working of a2sd, because has two different versions:
A2SD: All apps you install will be automatically moved to sd-ext
A2SD+: All apps you install plus dalvik cache will be automatically moved to sd-ext.
So when you move dalvik cache to /data, you are using "only" a2sd, but it's still working the same way.
But before this I would try wether wiping dalvik cache in recovery solves your problem.
Click to expand...
Click to collapse
Oh. Thanks! I will try! But I am afraid that I tried an app moving dalvik in the past and my phone got extremely laggy and buggy. Maybe it was not compatible app with my ROM
As I said when I do full wipe (so wiping dalvik as well) it is quick several days but then it gets back to laggy phone.
GV 2.7 - I have dalvik cache on Internal memory with Cm7r2 Hboot - no delays like you have, instead instant opening.
You can move it easily by using any terminal (I have better Terminal Emulator Pro).
Commands:
a2sd cachesd - moves Dalvik to SD
a2sd cachesdreset - moves Dalvik to SD, but firstly it wipes it.
a2sd nocache - moves Dalvik to Internal NAND.
a2sd nocachereset - moves Dalvik to Internal, but firstly it wipes it.
Personally, I prefer the "reset" commands.
davebugyi said:
GV 2.7 - I have dalvik cache on Internal memory with Cm7r2 Hboot - no delays like you have, instead instant opening.
You can move it easily by using any terminal (I have better Terminal Emulator Pro).
Commands:
a2sd cachesd - moves Dalvik to SD
a2sd cachesdreset - moves Dalvik to SD, but firstly it wipes it.
a2sd nocache - moves Dalvik to Internal NAND.
a2sd nocachereset - moves Dalvik to Internal, but firstly it wipes it.
Personally, I prefer the "reset" commands.
Click to expand...
Click to collapse
And when it is not enough space on internal??
devcager said:
And when it is not enough space on internal??
Click to expand...
Click to collapse
Change your partition table. With aosp rom you waste almost 150mb on /system. That is one hefty davlik with 110 apps approximately.
When I am trying to clear the Dalvik cache as a step in installing whatever ROM I am getting an error message.
When I go into Advanced>Wipe Dalvik Cache> as soon as I select Wipe and it asks me if I'm sure, a line shows up that says "E:unknown volume for path [/sd-ext]". When I scroll down and say yes it gives me a message that says it worked.
The SD card is actually at [/external_sd]. So did it work, or is it lying to itself?
I'm confused about why it's looking for the Dalvik cache on the external SD. I thought that would be internal. What do I need to change so that CWM (and my OS?) is looking for the external in the right place?
I discovered this when I was installing Jugs 3.7. It installed clean and is working just fine. This error message also reproduced itself when I installed Domination 2.0 with the ICS theme. That rom also installed correctly and, as far as I could tell in the hour I was playing with it, had no glitches.
-RP
Mine says the same with the volume ....I thought it was just me....but everything runs perfect so I didn't wanna bring it up
Sent from my SGH-T989 using XDA Premium App
Same here...not worried. All works without a glitch.
-Locksmith81
BeastMOD Faux'ed to 1000HP
You can ignore that error. Almost everyone will get it.
The reason being, there are ext to sd scripts that people use on other devices that have very low internal storage. So they will move the /data partition to sd-ext. Now since the dalvik-cache is located in the /data partition, the wipe dalvik cache script inside cwm will auto-wipe to both locations, just incase. Since our phones don't really need this, we have tons of internal storage, we don't utilize those scripts.
Also don't confuse this with apps 2 sd scripts, or just moving apps to your sdcard, it's not the same thing.
i flashed some custom roms for several times. today i just noticed that theres only 1GB left in my sdcard. and all the files that i can find are just about 10GB. i have no idea what takes the rest. any solution pls? thx alot!
Not sure if this could apply to you but try to get a tool called diskusage to better understand what is happening it may well be dalvik cache space issue, another tool which can also help with clearing dalvik cache is link2sd once you frozen you can clear the dalvik cache for particular apps.
Sent from my HTC One X using XDA
UpSideDownHOX said:
Not sure if this could apply to you but try to get a tool called diskusage to better understand what is happening it may well be dalvik cache space issue, another tool which can also help with clearing dalvik cache is link2sd once you frozen you can clear the dalvik cache for particular apps.
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
thx mate! what about wiping dalvik cache in recovery? will this work?
I've only cleared dalvik cache from apps I not longer used, so is best if others here can make more technical recommendations on this topic.
Sent from my HTC One X using XDA
Sure you're not getting internal storage confused with phone storage in Settings?
I had this problem too the only way I could fix it was copying all of my data from the sdcard, formatting it and copying it all back.
JJbdoggg said:
I had this problem too the only way I could fix it was copying all of my data from the sdcard, formatting it and copying it all back.
Click to expand...
Click to collapse
What's the best way to format the 25GB partition?
Looks like i may have to do a reformat as well then.
I have 14ish Gig on my phone storage, yet only have a little over 5Gig left!?
6gig missing somewhere!
Tried looking using linda file manager.. can't find anything that big!
JJbdoggg said:
I had this problem too the only way I could fix it was copying all of my data from the sdcard, formatting it and copying it all back.
Click to expand...
Click to collapse
thats what i actually did. looking for better solution. it seems to have something to do with rom flashing. after formatting i flashed a rom again then almost 1GB is gone. btw im on ARHD 4.1 and used super wipe from ARHD thread before flashing.
Copying the data to my PC, reformatting, copying the data back worked for me too.
I had been playing around with various ROMs over the last week, and I would think that this has had something to do with it.
This happened to mine too. I already did what you have done and formatted the sd partition and i gained 3gb from 5gb to 8gb which was great but woke this morning to have lost another 1gb overnight. I thought i had solved it but obviously not. Hope this gets sorted soon.
Sent from my HTC Legend using XDA
Sent from my HTC Legend using XDA
liquidguru said:
Copying the data to my PC, reformatting, copying the data back worked for me too.
I had been playing around with various ROMs over the last week, and I would think that this has had something to do with it.
Click to expand...
Click to collapse
Well if it does, then its still a problem even if i format the sdcard 'cause i wont stop flashing roms in the future. The missing space is gonna keep growing and lead to another format. And thats annoying
The problem is that after files deletion their space goes to the bad sectors - just run chkdsk to see this. Seems problem with internal SD driver or something like this
How many roms did you save on the SD card? That takes space. Plus how many nandroids have you saved? Each nandroid takes 1.2 gb space. So multiple nandroid back ups will take up a lot of space.
Sent from my HTC One X using xda premium
Also you can use storage analyser from play store to analyze what is using your storage
Sent from my HTC One X using xda premium