[Q] running low on memory - Desire Q&A, Help & Troubleshooting

Shortly after getting my Desire I rooted it using the Unrevoked 3 method and replaced the stock UK T-Mobile stock ROM with Open Desire 1.0c. (Froyo with HTC Sense). I also had the phone unlocked to use my Vodafone sim (for my sins!!).
I am using a 16gb memory card partitioned to 14gb FAT32 and 2gb ext3.
Wherever possible I install apps to the memory card using SetInstallLocation or manually moving apps across to the memory card via Settings/Applications/Manage Applications.
I have a lot (and I mean A LOT) of apps installed. Now my phone is reporting that it is running low on memory again.
Is there any way I can either a) increase the amount of available memory for apps OR b) move more apps to the memory card?
I'm relatively new to Android (and the Linux ethos) so I may have missed something when setting up my phone or the memory card.
Any help in resolving my storage issue would be appreciated.
Thanks

Dalvik Cache
Sounds like a cache issue or memory leak. try deleting your Dalvik Cache.

wickedpenguin said:
Sounds like a cache issue or memory leak. try deleting your Dalvik Cache.
Click to expand...
Click to collapse
Thanks for the advice. I've deleted the Dalvik Cache and that has given me back 3 or 4 mb, but I'm still low on memory.
I did see a post a long while ago, where someone described how to trick the phone into thinking it had about 2 or 3gb of free memory (with screenshots to prove it...though they could have been photoshopped I suppose) but I haven't been able to find that post again.
Anybody else got any idea where that post is or any other ideas about how reclaim more phone memory without having to delete apps?
Thanks in advance people

babblerx said:
I am using a 16gb memory card partitioned to 14gb FAT32 and 2gb ext3.
Wherever possible I install apps to the memory card using SetInstallLocation or manually moving apps across to the memory card via Settings/Applications/Manage Applications.
Click to expand...
Click to collapse
First of all, if you are using legacy A2SD or A2SD+ with an EXT partition, there is zero point using setInstallLocation because all you are doing is moving the application from the EXT partition on the SD card, to the FAT32 partition on the SD card!
If you are using legacy A2SD (not A2SD+), you can also moving the dalvik cache to the EXT partition using A2SD+.
Alternatively, if you are using Froyo A2SD, you can try using fusecompress to compress your dalvik cache, by following the advice in this thread. I've been trying this out for a few days now, and it works like a charm and returned about 22MB of space.
Regards,
Dave

Related

Question about app2sd and MoDaCo 3.0

Hello guys!
I am using this ROM with app2sd and Recovery Amon RA 1.5.2
My question is- when I install some apps from the Market, not from files, do they go to SD card or I have to install there manually?
Thanks a lot!
miragebg said:
Hello guys!
I am using this ROM with app2sd and Recovery Amon RA 1.5.2
My question is- when I install some apps from the Market, not from files, do they go to SD card or I have to install there manually?
Thanks a lot!
Click to expand...
Click to collapse
If you have formatted your sd properly in ext3 partition... then you shouldnt do anything.just installing from market would put it on the card.
one question..
when a app is installed in the ext3 partion, why does the menu with the internal memory lose space? or is this normal?
With a2sd, your /data/app and /data/app-private directories are actually mounted to a filesystem on your sd card. The OS still installs the apps in those directories, which just happen to be on the sd card. It's all transparent to the OS.
The dalvik cache, where virtual machines are created to run your apps, still resides in internal memory, so when you run your new app for the first time, a VM gets created, and the amount of available internal memory goes down. That's normal.
Word of caution: Never remove the SD card while the system is running. Always turn it off first.
marinierb said:
With a2sd, your /data/app and /data/app-private directories are actually mounted to a filesystem on your sd card.
Click to expand...
Click to collapse
technically it is the other way around, the sdcard is mounted to the directories. but other than that you are spot on
so what happend when i'm over the internal memory?
i mean when the internal memory shows 80mb and i am installing a lot off apps, over the 80 mb what happend?^^
does the internal memory goes in the negative?
no just u cant install more apps. the problem is the dalvik cache. i moved the dalvik chache to the sd card too to save more space.
zerofigther said:
so what happend when i'm over the internal memory?
i mean when the internal memory shows 80mb and i am installing a lot off apps, over the 80 mb what happend?^^
does the internal memory goes in the negative?
Click to expand...
Click to collapse
lol yes the memory goes into negative, and the data starts to leak out of your phone!
scnr, i can imagine two scenarios: android tells you that there is no more space left and you can not install more apps, or it will just start to freeze, give force closes, reset itself, stuff like that. i'd guess the first one, it is forseeable that one fills the rather small phone memory, so there should be routines that stop the phone from failing catastrophically. anyone up for a test?

App2sd+ issues

Hello to all.
I have the latest auraxtsense and my sd a 1gb of ext4 partition, 0for swap and rest for fat32.
I have a lot of app installed and now I have about 500mb free on ext partition and ONLY 15mb of internal memory!!!!
My problem is about use of cache and app data since during internet surfing or when I lunch a game and it make their data, it stores this data on phone memory!!!!
I have checked with root explorer and both davilk cache and app are on sd but how can I use at minimum my phone memory??
Thanks to all
sent from the future
Moved to Q&A as not development
mattiadj said:
Hello to all.
I have the latest auraxtsense and my sd a 1gb of ext4 partition, 0for swap and rest for fat32.
I have a lot of app installed and now I have about 500mb free on ext partition and ONLY 15mb of internal memory!!!!
My problem is about use of cache and app data since during internet surfing or when I lunch a game and it make their data, it stores this data on phone memory!!!!
I have checked with root explorer and both davilk cache and app are on sd but how can I use at minimum my phone memory??
Thanks to all
sent from the future
Click to expand...
Click to collapse
the main issues with apps2sd+ are, even tho /data/app/ and the dalvik cache' are moved to your sd card, /data/data/ remains on the nand, people that have tried to move /data/data/ to there sd card have reported that it slows there phone down too much also
AndroHero said:
the main issues with apps2sd+ are, even tho /data/app/ and the dalvik cache' are moved to your sd card, /data/data/ remains on the nand, people that have tried to move /data/data/ to there sd card have reported that it slows there phone down too much also
Click to expand...
Click to collapse
I have a class 4 SD.upgrading to class 10 and moving these files on SD can help?
How can do to try to make the migration of data/data folder?any tutorial?
Thanks to all
sent from the future

Apps2sd

my ROM is a apps2sd ROM. Ext sd is reporting use, i.e. I set 1g of ext and storage says 658mb of ext is free. But in applications my apps give me the choice to Move to SD! ?
I used TB pro to batch move apps to SD but altho my apps now report they are on SD. Ext usage actually went down after the move. Am I confusing Apps on Sd / ext ? So on roms with default apps2sd you ignore in applications that they appear to be on internal mem?
Sent from my HTC Desire using XDA App
Yes ignore it. You've just moved your apps from ext to fat. Read the root memory faq in my signature
Sent from my HTC Desire using XDA App
I've some A2SD questions as well. I'm on CM7 with several apps already installed. My 4GB SD card has already been partitioned to 3GB FAT32 and 1GB ext4.
I was getting low memory warnings so I applied the darktremors script (stable, not nightly) expecting it to automatically move my apps to the sd card like your a2sd guide said it would. However, I still got low memory warning, so I manually moved the app to sd card using manage applications. This however moved the apps to the FAT32 partition, and several of my apps suh as my clock widget and swype no longer work.
How to I get my existing apps to move to the SD card's ext4 partition?
They need to all be moved to phone.
The apps should automatically move to ext download quick system info to check a2sd is working.
If its not try "a2sd reinstall" from terminal emulator.
Dalvik-cache is not moved by default and takes up a whole load of space so don't forget "a2sd cachesd" too
Sent from my HTC Desire using XDA App
OK, I thought the a2sd would move existing apps as well, didn't know I needed to "a2sd reinstall". Can I do the reinstall through an adb shell or do I need to download a terminal emulator?
I don't have a Class 4 card, it's a generic card and I don't know what class it is, so should I move the dalvik-cache to the cache partition using "a2sd cachepart" rather than "a2sd cachesd"?
Do I need to wipe cache and dalvik-cache before running any a2sd commands such as reinstall and cachesd/cachepart?
Lastly, do I need to reboot the phone after running these commands?
Thanks.
goister said:
OK, I thought the a2sd would move existing apps as well, didn't know I needed to "a2sd reinstall". Can I do the reinstall through an adb shell or do I need to download a terminal emulator?
I don't have a Class 4 card, it's a generic card and I don't know what class it is, so should I move the dalvik-cache to the cache partition using "a2sd cachepart" rather than "a2sd cachesd"?
Do I need to wipe cache and dalvik-cache before running any a2sd commands such as reinstall and cachesd/cachepart?
Lastly, do I need to reboot the phone after running these commands?
Thanks.
Click to expand...
Click to collapse
Ive never seen any performance issues even on class 2 cards. Keeping dalvik on NAND may give a miniscule performance increase, but I think its so negligible, you wont notice. But put it where you want. I recommend card though as you need the cache partition for downloads and as it fills with dalvik, it will limit the size of apps you can download from the market.
a2sd reinstall is for if it doesn't work properly. Its always the first thing to try. Then move dalvik. The way dalvik move works is that it wipes dalvik, moves the location then reboots the phone (rebuilding dalvik so expect delays when booting up the first time). For this reason its best to use "terminal emulator" from the market.
Hope this helps.
Alright, thanks! Will try reinstall and moving dalvik cache to the sdcard. Might get a new faster card since 4GB is getting tight anyway.
Tried the reinstall and it seemed to work. I had to move my apps back to the internal memory in 2 batches since I was running out of internal memory. So here's what I did
1. Move batch 1 of apps from sdcard back to internal memory
2. Run a2sd check in adb shell
3. Run a2sd reinstall in adb shell
4. After phone rebooted, checked my storage to find about 50MB of internal space left (woohoo!)
5. Move batch 2 of apps from sdcard back to internal memory
6. checked my storage to find still about 50MB of internal space left. I guess this means a2sd automatically moved them to the sd-ext partition?
When I ran a2sd check in step 2, the output showed that my ext partition type was ext2 rather than ext4 which I formatted the sd-ext partition to. Is this a mistake?
Will try moving dalvik-cache perhaps this weekend.
Are there any benchmarks I can run on the sdcard to make sure it's fast enough for dalvik-cache? Perhaps HDTach/CrystalDiskBench/ATTO/AS-SSD Bench/etc? There aren't any markings on the sdcard that indicates its class. It's a generic HP 4GB sdcard. Will a "dd if=largefile of=/dev/null" for read and a "dd if=largefile1 of=largefile2" for write work?
I've never known a card too slow for dalvik. Just move it. You can move it back again
Sent from my HTC Desire using XDA App
I believe the ext2 is due to some error with a2sd check. I encountered it too when i used the command and i was using an ext4 partition.
As for dalvik, try moving it. If it too slow then move it back.
itachi1706 said:
I believe the ext2 is due to some error with a2sd check. I encountered it too when i used the command and i was using an ext4 partition.
As for dalvik, try moving it. If it too slow then move it back.
Click to expand...
Click to collapse
Sorry, yes its a bug, fixed apparently in the latest BETA.
Don't think I'll be playing with the phone for a while - it's my wife's phone, and it took almost a week for me to figure things out and start from stock to CM7 with A2SD...now it's relatively stable with quite a bit of internal memory available, so I think I'll keep it that way for a while.
Thanks for all the help!
Hello rootsu,
i installed a Data++ rom and now some applications that i install, not from market, disappear after a reboot. From the market it is fine but if i put a .apk in the card and install it, disappear after reboot. Not all of them. Only some of them.
I have a aura sygic gps and this is one of them that disappear after install. The only way that doesn't is to move to the card. And another one, that doesn´te have the option to move to the card, disappear after reboot.
I already wipe dalvik cache, wipe everytnhig, rom install again, etc...
What's the problem? Do you now? I've searched a lot but i cant find anything.
That's a new one on me.
Install, take titanium backup, boot recovery, factory reset, format /data, titanium restore?
Sent from my HTC Desire using XDA App
Thanks, rootsu.
And when i go to install again, say that this will replace another application.
I already made a backup, when i have stock, and restore it and happens the same.
What to do?
Edit: I do a backup, only the application, with titanium, and when restore it and say error and dont restore the application.
Hello rootsu,
i modify de hboot to sense and all problems gone. Its good now. I think thats a problem with a Hboot Data++.
Thanks.
Ah maybe yes. Good work
Sent from my HTC Desire using XDA App
Hello rootsu,
i install hboot sense and Leedroid 3.3.3 and works fine, but i have a question about cache file system. Why my cache system space is 202mb? In the AlphaRev 1.8 page the hboot sense as 40 mb. I dont understand.
The cache system space is from sdcard memory or memory phone?
Thanks
Although I am not rootSU, I feel free to answer:
I am pretty sure it uses space of SD Card. Using internal memory would be a little strange, especially we are talking about 160 MB here.
SwiftKeyed from CyanogenMod with Transparent XDA App
MatDrOiD said:
Although I am not rootSU, I feel free to answer:
I am pretty sure it uses space of SD Card. Using internal memory would be a little strange, especially we are talking about 160 MB here.
SwiftKeyed from CyanogenMod with Transparent XDA App
Click to expand...
Click to collapse
Thanks MatDrOiD.

Internal memory

I'm currently on coolexe sense 3.0 Rom. When I first installed it I had around 180mb free of internal memory.
Since then I have installed a few apps but my internal memory has gone down to 125mb.
So it seems like something else other than apps is eating the internal memory. What else could it be and how do a delete it?
Sent from my HTC Desire using Tapatalk
Dalvik Cache?
Move to SD. Chcek ROM thread.
Dalvik cache is already on SD.
If the memory keeps going down at this rate, I will need to do a complete wipe every so often.
Sent from my HTC Desire using Tapatalk
Any idea?
Sent from my HTC Desire using Tapatalk
Why don't you chceck it with some software what takes up the memory? Colud be some app.
I am on LeeDroid ROM v 3.3.3 and even my internal memory decreases a little bit with every app that I install. The dalvik cache is already on the SD card. I started with approx 128mb and am now down to 80mb. I keep cleaning the cache data using Quick app cache cleaner.
Yeah a2sd+ cannot move everything to SD card. app data is still on /data.
If you browse to /data/data you will see all you applications listed and their associated data.
and there is no workaround for this, is there?
No. You can try D2Ext, but A2SD+ will work like this.
sarkar_007 said:
and there is no workaround for this, is there?
Click to expand...
Click to collapse
for leedroid 3.3.3R5, you can switch to data++ version for more internal memory.
i suggest reading all the FAQ, at least twice
To get more internal memory (/data partition), you have to flash data++ hboot layout first and not until then the data++ version of leedroid. Otherwise, you will lose internal memory because the data++ version swaps some things from /system to /data.
Alternately you can flash Supernova and get 2GB on /data
I am running Runny 3.4[CM7r2][Sense 3.5 Android 2.3.5] in my desire.. when i am falshed this rom its giving mesage like low on internal storage.. what to do..?
Make sure you configured A2SD+ correctly.

App2sd not working properly?

Ok, here's my situation:
Wildfire s A510e
S-ON
Android 2.3.3
This thing enabled
According to app2sd, i've got no more moveable apps, on my internal memory there are just 7 apps installed (Google Maps, Facebook, Vocal Search, Youtube, Gmail, Clock Widget, 3g Watchdog), but i've got just 6mb free (out of 150mb).
The thing is, browsing my internal memory (using for example Disk Usage, which i think is very user friendly), i found out that all the apps i've installed on the sd have a lot of data on the internal storage anyway.
For example, i've got Barcode Scanner installed on my SD, But it uses 545kb on my internal memory 600kb on the SD.
And another thing: when i browse to settings- applications - manage apps, i can see Barcode Scanner installed on the SD, but it says it uses 545kb (which is the amount of data in the internal memory).
So, is all this normal? 'cause otherwise i don't see the point in installing apps on the sd if they fill up the internal memory anyways.
Any idea? Any suggestion?
Thanks in advance!
I have soff, a rooted rom. Many apps installed ans 120mb or so free memory. I think ans soff device is more flexible to tweak.
Sent from my HTC Wildfire S using xda premium
Ok, found out that the data not bein moved is mainly davlik cache and .apk files.
Now, although I already know the answer... Is it impossible to move those files, without root privileges, right?
Damn, I want S-OFF.
That's right, you need root access in order to move any system file on the device to another location, such as a different partition or external card.
Sent from my HTC Wildfire S A510e using XDA App
Update:
I've unlocked and rooted my phone.
I've created a 1024mb ext4 partition and installed Link2SD.
Moving all the apps to the partition.
Still, i found .apk files and davlik cache in the primary partition.
Any help? I though with root all my space problems would be over easyly :S
I did a 1024mb partition and used data2sd, I don't have to move app myself, the internal memory show my 1,150 GB...
Maybe you should use data2sd :/
Sent from my HTC Wildfire S using XDA App
update to rom 2.3.5 will actually free up more memory even you don't have the unlock your phone. For stock app e.g. facebook, gmail; if you happened to update it, they are unable to be moved to the SD card and occupy much of the internal memory. You can always use app2sd to move the other application to the SD card to free your internal memory once you've updated from 2.3.3 to 2.3.5, I think the HTC people have made some improvement in their latest update with regards to the internal memory issue.
After the updating, I haven't yet unlock my phone (as there was no suitable RUU for my carrier), yet I have free memory of 40 Mb on a 2.3.5 rom Vs that of 15Mb on a 2.3.3 rom.
SavageButcher said:
Update:
I've unlocked and rooted my phone.
I've created a 1024mb ext4 partition and installed Link2SD.
Moving all the apps to the partition.
Still, i found .apk files and davlik cache in the primary partition.
Any help? I though with root all my space problems would be over easyly :S
Click to expand...
Click to collapse
Did you do MOVE to SD or Link?
Move to SD is just using the built in Apps2SD support which still leaves parts of the APK, all the Dalvik Cache and Library files still on your internal Data partition.
Link is what you want... There are a few apps like Link2SD that, for obvious reasons, won't link.
You are not looking to use the Apps2SD function. Link.
Also you will see ALL the apps and Dalvik cache files listed on the Data partition still but if you look carefully they are sizeless as they are simply "links" or shortcuts if you like, to the real files on your secondard SD partition.
You will also still see the System APKS Dalvik cache files unless you integrate them into the system partition using something like Titanium Backup Pro. This is as it should be. System Dalvik will not move to an external partition.
If you're rooted and have a recovery, just install DT a2sd. Once your find the file, flash it, go to terminal emulator in the phone and type
Code:
su
A2sd reinstall
your phone will do a hot reboot. Then go back in and type
Code:
su
a2sd cachesd
There will bet another hot reboot and you're done. You'll still lose some internal memory as time goes by, but that's because the phone will store the apps cache on you're internal memory still.
Sent from my HTC_A510c using Tapatalk
d33ps1x said:
Did you do MOVE to SD or Link?
Move to SD is just using the built in Apps2SD support which still leaves parts of the APK, all the Dalvik Cache and Library files still on your internal Data partition.
Link is what you want... There are a few apps like Link2SD that, for obvious reasons, won't link.
You are not looking to use the Apps2SD function. Link.
Also you will see ALL the apps and Dalvik cache files listed on the Data partition still but if you look carefully they are sizeless as they are simply "links" or shortcuts if you like, to the real files on your secondard SD partition.
You will also still see the System APKS Dalvik cache files unless you integrate them into the system partition using something like Titanium Backup Pro. This is as it should be. System Dalvik will not move to an external partition.
Click to expand...
Click to collapse
Thanks deepsix! That actually worked. (btw i realized that by myself just 30 secs after i wrote my previous post, i feel so noob for writing that, lol.)

Categories

Resources