[Q][UnofficialCM7.2] Resize Dalvik Cache Partition Memory - HTC Wildfire S

First time I rooted this phone I had to set the size for the dalvik. I don't remember how I did that but I'm pretty sure I've allocated 512 of space and I believe it is way too much.
Now the dalvik is taking up so system memory that I had to move it to Sd-ext and the phone had become laggy and unresponsive.
Is there a way I can reset the dalvik so it won't grow any larger than 100Mb?
Cheers

Related

Cache out of space

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.

need Help about Dalvik Cache

Hey guys, i have this problem
i just flashed to GingerVillain 2.4...full wipe installation...nothing wrong with the phone..but i found out something wrong with the dalvik cache..originally is on internal memory before i install 2.4...after finishing installing 2.4...i open the a2sdgui...it shows that the dalvik cache is on sd-ext and when i tried to move it back to internal memory..it say error..not enough space left...
any experts can help to share some opinions??? i am a bit lost...
here my partitions:
/system: 145 MiB (6 MiB free)
/data: 255 MiB (170 MiB free)
/cache: 40 MiB (31 MiB free)
1G for sd-ext (ext4)
balance is fat32
no swap partition
after finishing installation, the 1st reboot..i opened a2sdgui..the information shows are as follows:
1. apps are on SD - ON
2.Zipalign on boot - ON
3. Swap is deactivated
4. Dalvik Cache on SD-EXT (not able to move - it say 'no enough space left', but can rebuild)
5. Dalvik JIT - ON
6. Heapsize is 32
7. Internal memory - 171mb (252mb)
8. SD-EXT - 978mb (1026mb)
9. Cache - 32mb (40mb)
Click to expand...
Click to collapse
Uninstall Apps2SD. The problem here is all your apps, including ones that are installed with your ROM are now on the SD card, and other things are stored where you would usually have your apps. So there literally isn't enough room for them anymore.
Plus, this is how you need your phone set up if you want to use A2SD+.
Hi Guys,
I'm having the same problem...
I installed AceSMod007 rom which moved the Dalvik cache to SD-EXT on first boot, now, I want to move it back to internal memory but I get an error 'Not enough space left!'
I have uninstalled all apps possible but still it will not let me.
Note I have a 732mb ext4 partition for Apps2SD.
Apps2SDGUI under the general information tab states that I have
Internal memory free(total): 129MB(147MB)
SD-EXT free(total): 517MB(731MB)
/cache/ free(total): 39MB(40MB)
Any help on this is much appreciated.
Use the search. This problem was discussed here already.
Thanks for reply MatDrOiD, tried the search but could not find anything.
Manually went through the first 12 pages and couldnt find anything either.
Think Im gona try increase the ext4 partition, reflash and try again.
Resizing ext4 partition and trying to move the cache after first boot didnt make any difference.
Cant seem to move the Dalvik cache at all

Laggy Desire while opening apps

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.

Cache Partition Size ?'s

For a while now I've been playing around with custom MTD partitions. I ran MIUI for several months with Caulkin's "stock" partition sizes (whatever the presets are that come with his mod) and then recently increased the size of my system partition (at the expense of some cache size) so that I could run a Sense 3.5 ROM. My questions are as follows:
A.) How does smaller/larger cache partition affect the overall performance of the system?
B.) If data partition size was to remain constant, would it behoove me to allot the excess internal space to my system partition or to my cache partition?
I have read that excess space on the system partition can increase ROM performance but I'm unclear as to whether sacrificing cache space for system space would be counter-productive...
Thanks in advance.
Anyone? Anyone? Bueller?...
Sent from my Pee-Cee Thirty-Six One-Hunnet
Last ditch effort at a bump. Sry.
Sent from my Pee-Cee Thirty-Six One-Hunnet

resize cache and system partitions

hi, with the new marshmallow roms we have very few available system space, in my phone i have 96mb after gapps and xposed, but we have a huge cache partition, 800mb of wich i am using only 26mb, 800 is kind of a waste, even the nexus 6 has a 260mb cache partition, is there any way to resize the cache partition to like 200mb and use the rest for the system? 600mb more to the system will help us with future and heavier updates

Categories

Resources