[Q] Increasing memory allocation for applications - Droid Incredible Q&A, Help & Troubleshooting

Is it possible to increase the size of the small memory allocation for applications (150mb)? I think I see a lot of people having that dreading "out of memory" error when I have a large amount of phone memory left 5.88gb left. I'm running Skyraider 4. Will you have to repartition?

AznInertia said:
Is it possible to increase the size of the small memory allocation for applications (150mb)? I think I see a lot of people having that dreading "out of memory" error when I have a large amount of phone memory left 5.88gb left. I'm running Skyraider 4. Will you have to repartition?
Click to expand...
Click to collapse
The 5.88 GB your seeing is not space for apps it's your internal storage. You can't re-partition the internal partitions on the phone easily if at all. It would be possible to symlink to use a different partition for apps similar to how apps2sd works but I don't know if there are any scripts out for that sort of thing. When I was messing around with different options for DualRom I moved the data/data folder to the data/ partition instead of using the data/data partitions which is the 150mb partition you mentioned and it worked fine but someone would have to write up a script that would run at boot so the phone knew where your apps are.

Related

Available phone memory.....

The answer will probably be a yes but I want to make sure.....I partitioned my sd card to free up some hardware space and I ended up with 122mb on device.
My question is, do software updates load onto the phone memory? I flashed a keyboard, radio and icons off the card and now the memory has went down to 102mb.
Thanks in advance,
Paul.
It actually seems to be going down a few mb at a time, thought this **** would end after I binned the BlackBerry..........
You could of searched there is plenty of topics on this ...... when you use apps2sd+, /data/app/ and the dalvik cache are moved to the sd-ext, the /data/data/ directory remains on the device, this directory is used to store all app data, thats why your internal storage goes down
Sent from my HTC Desire using Tapatalk
Yes there is a small amount of internal space still used but not much.
You will be able to install a lot of apps untill you run out of space. Much more than before.
Another trick you could try that I just did is applying the custom MTD partitions mod (do a search in the development thread) and this will give you some more memory to play with (I have 70 apps installed and still have 108MB Free!)

Free internal memory: how much?

...and by safe I really mean a logical, usable size for caches etc. In example, a size which wouldn't give me problems when, I'm browsing in "heavy" websites, downloading through marketplace, or receiving messages and emails.
Since I got my desire and flashed the latest LeeDroid ROM, I've started installing apps like there's no tomorrow. Naturally, most of them I just try and discard, but a lot of them I just keep on my phone even if I use them once a week, or even once a month. With A2SD enabled, I currently have a whopping 188 apps installed. I think they will soon classify a psychiatric condition named after me. That leaves me with around 25mb left in Internal storage, and around 20mb remaining in A2SD.
On my Touch Pro, again, with a [censored]load of apps installed, I usually left around 30mb of free memory, just for various caches. Would it be wise to do the same for android, or should I just wait for the "low space" notification to start clearing things out?.
So I'm wondering. How much free storage you guys have on your desire? And how much would you consider it would be wise to leave free. Would a full-featured site use more than, say 10mb of cache? Would we ever need more than 10mb of cache for mail or messages? Any other serious disadvantages of having an -almost full- internal storage space?
(I already got brut mod for google maps, so maps cache ain't a problem)
Sorry for the long post and possibly needless question... insomnia at it's best
akpidis said:
... How much free storage you guys have on your desire?
Click to expand...
Click to collapse
Hit the wall today...
became unstable ..
trouble getting data connections (good reception area)
Camera app not connecting to camera
slow
Down to 8MB internal free !! (cachemate only freed additional 2MB)
214 apps ;-)
A2SD(+) 1.24 GB free / 1.92GB total
Time to delete apps now
Need a better a2sd(+) or bigger phone !
Yes I think that until the memory leak in the contacts storage is fixed, we Desire users are going to have to get used to doing a hard reset every month or so. Currently have 85mb of phone storage left after a hard reset last week. Before that I was down to 12Mb.
130MB using SuperVillain. I only have around 25 apps though.
Leave 10% or more free. Less than 10% will cause things to start breaking.
memory
hi guys iv got about 110 apps or so and still got 305mb mem on my desire and thats internal memory buy using data2sd very good the only problems i got is my phone crashes and freezes now and again thing its my sd card so is going to try another
I'm using LeeDroid's ROM and am left with about 22MB - how are you lot doing an app count? I know I've got quite few apps installed. It's a shame we have to worry about this. I thought I had saw the end of it when I moved from WM6.X devices!
Apps2ext/data2sd (or variants) seems to be the way forward, but as said, there seem to be stability issues at the moment.
The new Nexus S comes with 16GB nand memory - this is what all android phones should have had from the beginning - bigger internal memory.
WARNING, dont get it wrong.
The new Nexus S indeed has 16GB memory ...
But only 1GB for internal memory where you can use to install app.
It has 13 GB as "emulated SD card".
Read this:
http://forum.xda-developers.com/showthread.php?t=868772
sh500 said:
I'm using LeeDroid's ROM and am left with about 22MB - how are you lot doing an app count? I know I've got quite few apps installed. It's a shame we have to worry about this. I thought I had saw the end of it when I moved from WM6.X devices!
Apps2ext/data2sd (or variants) seems to be the way forward, but as said, there seem to be stability issues at the moment.
The new Nexus S comes with 16GB nand memory - this is what all android phones should have had from the beginning - bigger internal memory.
Click to expand...
Click to collapse
That's still a lot of apps to be stored in 1GB! If that guy up there fit 200ish apps in around our 140MB of space with A2SD+, then theoretically you could put like nearly 1000 apps on the nexus S!
Ah I see...I take that back then!
How comes Apple can do it with their phones but none that are running Android can?? Is it simply a cost thing?
It's obviously apparent that many Android users are installing apps/games mounting way over 500MB.
Got data2ext and have 1.7GB free. I left some directories on the internal storage and created some links. I have to say it working pretty well. Almost no performance lost. Only noticed performance issue while playing asphalt hd.
But the internal storage of nexus s is a step forward. But still more improvement needed. Once they fix those storage issues we will get greater and bigger apps.
R
Sent from my HTC Desire using Tapatalk
paulgun said:
214 apps ;-)
Click to expand...
Click to collapse
down to only 172 apps (29 MB internal free)...
I Figure I could get another 100MB internal free by repackaging
a ROM by removing 99% of the install packages
and installing manually from copies from the FAT32 Sdcard after first boot.
This fresh install would push most of the installed files to the A2SD+ ext3 part of the sdcard.
Seems a waste of space having over 100MB flashed on r/o ROM storage,
taking away from internal:
/data/app/*.apk [9 MB]
/system/app/*.apk [98 MB] {HTC* 30MB }
/system/customize/resource/bootanimation.zip [2 MB]
Anyone tried this approach?
I suspect knowing what to leave to have a minimal system is the trick?
Can I boot with 0 system apps installed ?
I'm thinking "why not" , I can use the command line adb , so I don't think
I even need a gui or fileexplorer app at all ?
Will think about it when the latest LeeDroid has stablised... TBA
65 apps installed, for 55 MB total, and I've got 16MB of free internal storage...
Seriously, I'm reading a lot of thread on this matter and I can't figure out: what's wrong with this phone internal memory?
HTC States 512MB Rom and 576MB RAM (can't put the link here 'cause I'm noob but you can google it), if I'm not wrong the Rom is the apps storage, right?
With DiskUsage I see 147MB of total internal storage memory (a recurrent number, but on the threads I read no one seems to care about the 365MB vanished like fog in the mouring), occupied for a good 90% by apps, cache and data.
I've the official last Froyo Update (I only rooted it with unrevoked and substituted the recovery but the ROM is the official one), and I've set on SD card all the apps that permit it.
Yes I know that I must install app2sd and I'm shure I will do it soon, but that is not the point.
The point is: please, someone can explain to me where I'm wrong in my calculations, or what bug or know issue I'm missing?
spile wrote: "Yes I think that until the memory leak in the contacts storage is fixed..." but again: even this search lead me to an endless list of topics in wich someone say: "Hey my contacts storage on HTC Desire is 40MB, how's that? " and someone other: "Use apps2sd 'cause HTC is bad".
Worst: that's not my case, my contacts storage state 3MB.
Again I know that in a way or another I'm ending this with apps2sd, but again I say it's not my point: my point is I want to undestand where is the problem and, most of all, if complaining directly to HTC is a waste o time that put me as the last one in a row of people condemned to ***** about HTC Desire's memory for the rest of their's life
Sorry for the long rant but I've done my search (at least I've tried, maybe I missed that one topic of revelations) and I want to put all the informations on the table so to not waste more time of yours ^^;;;
Thanks anyway
---
HTC Desire, software version: 2.29.405.2, rooted with unrevoked 3.
paulgun said:
I Figure I could get another 100MB internal free by repackaging
a ROM by removing 99% of the install packages
and installing manually from copies from the FAT32 Sdcard after first boot.
This fresh install would push most of the installed files to the A2SD+ ext3 part of the sdcard.
Seems a waste of space having over 100MB flashed on r/o ROM storage,
taking away from internal:
/data/app/*.apk [9 MB]
/system/app/*.apk [98 MB] {HTC* 30MB }
/system/customize/resource/bootanimation.zip [2 MB]
Anyone tried this approach?
Click to expand...
Click to collapse
On second thoughts, it appears freeing space in /system,
won't really help /data much, so this would not help:
androidforums.com/desire-all-things-root/220627-faq-apps2sd-2.html#post1952939
sh500 said:
Apps2ext/data2sd (or variants) seems to be the way forward, but as said, there seem to be stability issues at the moment.
Click to expand...
Click to collapse
After trying a dozen other things, I'd have to agree...
forums.whirlpool.net.au/forum-replies.cfm?t=1598676#r2
Hit another wall today...
215+apps ;-)
A small number of apps won't install, even though >1GB internal free
using data2sd method.
talking-santa-free
raging-thunder-2-lite
The logs show it failed due to internal space
Perhaps /cache is too small now ?
im using my own cooked rom, and have atleast 300 apps installed, and i have 58mb free internal storage with 22mb cache partition, 190mb system partition and 222mb data partition
100mb free after 144 apps installed. Have N1table for data partition of 200mb. And app2sd helps a bit. No need for data2ext
Teleported from my brain cells
I've installed about 20mb of apps (fb @ 4.8mb, music app 5mb, rest = 10x<1mb apps w/ no cache usage) yet still only have about 14mb. Somehow I'm missing 100mb ish on a RUU'd Desire. Annoying.
Cirunz said:
65 apps installed, for 55 MB total, and I've got 16MB of free internal storage...
Seriously, I'm reading a lot of thread on this matter and I can't figure out: what's wrong with this phone internal memory?
HTC States 512MB Rom and 576MB RAM (can't put the link here 'cause I'm noob but you can google it), if I'm not wrong the Rom is the apps storage, right?
With DiskUsage I see 147MB of total internal storage memory (a recurrent number, but on the threads I read no one seems to care about the 365MB vanished like fog in the mouring), occupied for a good 90% by apps, cache and data.
Click to expand...
Click to collapse
It did not vanish, the 365 mb is used by android system files and other stuff HTC throws into the phone. In theory, we only have 140+ mb to install apps.
Sent from my HTC Desire using XDA App

Rom Size worries

Need some reassurance...The Internal MB free is the space I need to worry about as the phone uses this as its memory. I have a few apps installed already, but was curious if I need to worry about the system Rom size.
Mine Reads:
System Rom: 367MB (9.94 MB free) (Kingsrom R 6.1)
Internal : 448 (323 MB free)
SD Card: 15.9 GB (10.2 GB Free)
Your running kings from it takes up slot of space if you want space flash another rom hehe
Sent from my PC36100 using XDA Premium App
The Internal space is what the Apps are installed to anyway correct?
Do a search for APS2SD.
It's very simple to partition your SDCard so you can run that.
Here's a good guide:
http://themikmik.com/forums/viewtopic.php?f=41&t=221
Unless you're adjusting your partition sizes (which I believe most people don't do), it really doesn't matter how big or small the ROM itself is, as long as it fits. It goes on a separate partition (/system), which is a fixed size. With few if any exceptions, files don't get written to /system during daily use of the ROM. Your apps and data get installed to /data, which is also a fixed size partition. Having space free in one doesn't help you with the other. So the extra data in /system just sits there unused.
There are ways you can adjust the partition size, but I think there are some downsides to doing that -- I don't know off the top of my head what, but there must be a reason it hasn't broadly caught on. You can also manually move apps into /system, but if they get updated you have to remember to move the updates back again.

partitioning sd card

hey everyone
i have rooted my phone and installed cyanongen mod7, the fact is that i followed the noobprrof tutorial, and as he stated i partitioned my sd card, i left 1 gb ( its a 4gb memory now its divided to 3 and 1 ), but i didnt know where did it go and why i did partition my sd card, i thought it would add up to internal memory but it didnt...
please can anyone tell me whats the purpose of paritioning it ?? and how can i let apps get installed on this paritioned part if its purpose is so...
thanks in advance
It's for a2sd, it doesn't add up in internal memory, if you want to check if it's there download quick sytem info from the market, it's purpose is to store apps on your sd(mainly, there's always some data left.) for example when i had stock 2.2 froyo on my desire non rooted, i couldn't have more than 165-170 apps, now i have 379 and ext is also for the rom itself, like a sense rom doesn't fit totally on the system partion, so the part which doesn't fit is on your sd
Hope you understand it
thank u, i actually understood wut ur saying
for instance, i have downloaded games and stuff, now the phone says that the phonememory is on low storage, i still have like 30 mb... i tend to move apps from phone to sd card...
incase all internal memory is used will it conitinue installing on the 1gb i have paritioned... and is it just a notification that doesnt effect anything...
i also would like to ask if i can i can automatically download & install the apps from the market on the sd card...
thanks again
ps: i checked the system info and yes it is there... a2sd 0.96gb and 0.9gb free
It's not just like that
If you install an app for instance google earth, it's around 24mb, 300-400kb will stay on your phone and the rest will go to that partition automatically, although some apps like this iBeer i installed is fully on sd, it depends, but if you're low on memory just move some apps manually to your sd(this doesn't make them move to the ext but fat32 partition(the part that windows can see). If you just insert a SD and applt android's app2sd not a lot of the app will go to the sd, on the other hand the a2sd implied in rom's doesn't give you limitless place till you sd is full. If you want that apply data2sd, that adds to the internal memory as you thought
the max apps you can put on your desire with a2sd is max 400 i think, as i can't move any app manually to sd, and i have 35mb left with 379 apps
hope u understand it even better now
ok i did move the apps 2 sdcard, but they are moved to the 3gb partition and not the 1gb partition which i cant see, i only want to know what is the purpose of this 1gb that i made due to the tutorial... since i cant move apps to it or even put files on via usb ( as music and stuff )... then why is it created... ??
ps : the 1 gb is ext4 the 3gb is the fat32
i really wish there was some thread explaining all , maybe i would have let ur life easier hehe, im sory but im new on android...
thanks again
What did you use to create the 1gb partition? Did you use something like mini partition .. under windows?
I had a hell of a time trying to get it to work this way (if you did) the solution i found was to get the gparted live cd (google it) and run the partitioning wizard on that and the auto apps2sd will work.
The point of doing it is that some roms need more space than the desire has, I'm using insert coin and it needs a proparly formatted ext3 to work to fit the whole rom onto the phone.
Have you checked using quick system info to see if the a2sd storage is being recognised?
hey amriving
actually i did divide my sd card with gparted, everythings going great, but the fact that i cant use the 1000 mb ext2 partition (app2sd) is wut im asking about... (total of 4gb memory)
i mean when i move the apps to sd card they go to the 3gb fat32 space i have, and not the 1gb i partitioned...
so what i want to know is what is the purpose of this (app2sd) 1gb ext2 partition, how can i use it
i checked the system info and i found that there is 0.96gb of the app2sd partition and there is free 0.9 gb,
i have cyanogen mod7 rom
and thanks for the reply
Don't move it to sd, i think you didn't understood me, it does it automatically, just install a app, look at it's size, then delete it, you'll see that not that size went away from your memory but much less
You can't use it through windows, only if you have linux you'll be able to see inside the ext also with root explorer( go to recovery and then mounts then press mount EXT )
And they go to the 1GB partition. There will be an android.secure in your sd with apps, but if it wouldn't work, i wouldn't have 55mb android.secure with 390 apps now! and just 100mb free on 1.4GB ext, Just don't question this anymore, download 100 apps, you'll see it very well then if you don't then you obviously have a problem
thanks everyone
android.secure is on 3gb fat32 not the 1 gb ext...
i also went to recovery its on mount sd ext...
guys what i want to know is why when moving the apps to sdcard, they are going to 3gb fat32 partition instead of 1gb ext4 partition...
is nt it supposed to go to 1gb ext4 partition ?! which is the reason every android user is doing for ... ?
i have checked the ap2sd and yes it is there
android.secure file is in 3gb partition not the 1gb ext4 partition
No no you didn't understand me, look normally with 160 apps would your phone memory be full, and your android.secure(on the 3gb partition) be large, now it shouldn't be very big anymore, because for example city story is 23mb, 1mb on phone memory and 22 on ext. normally this would be 5-10 mb on phone memory and remainder on the 3gb(fat32 partition) now this is most of the times divided over the 3 or just in ext and phone memory, and the main reason is a lot of the app goes on the ext
answer
F*S Even i, a noob understood it 3 times allready..
btw this answers my final question here
listen(more like read), i'll try to resimplify the answer for you, think of an android app as a windows app.
a windows app is Commonly installed in 3 - yes THREE seprate location at once!
1. Main Program Files - C:\program files\<APP NAME HERE>
this contains all the app's inner working, modules, GUI, sound, pictures and stuff - most of the app is located here so this folder is 'heavy'
2. appdata - C:\Users\<USER NAME HERE>\appdata\<Local \ Roaming>\<APP NAME HERE>
this may contain any setting, saves, projects, and temp files for the app to use.
so only some parts make it here - litewight but still takes up space..
3. Registry - run>regedit.exe
this is sort of a log file for all windows operation, installaions, apps location and sometimes even app settings
again litewight but takes place..
SAME WITH ANDROID - sort of..
an android app contains Resource Data - like program files, the 'exeutable', settings, modules, critical data for the exeutable and more..
and so when you use the traditional APPS2SD that comes Froyo+ ( settings>apps>google earth>move to SD/PHONE )
all the non-critical data and resources move to the SD fat32 patition.
all the remaining critical data, 'exeutable' and stuff remain on the internal memory which still takes up valuable internal space, that's where a2sd+ comes in, as mentioned before, a2sd+ again moves to rest of the remaining appdata to the ext, and only tiny critical part of the app remains on the internal memory - therefor you get to install many apps until you internal memory fills up or the ext fills up, this time only the absolute critical app files that cant be moved to the ext OR the fat32..
as TopGear63z said:
most of the times divided over the 3 or just in ext and phone memory, and the main reason is a lot of the app goes on the ext
Click to expand...
Click to collapse
data2sd extends your internal storage..
a2sd+ lets you install more aps
EXPERTS: Please verify my answer as i am also a noob and this is my understanding on the subject, i maybe very wrong or very right
PS: Why double post
thankyou asaf400
actually i know all this and i really appreciate ur reply
but wut i wanted is to install apps on ext, and actually i found it i downloaded simple2ext app and now i have 150mb free internal memory, see now all apps are on ext part of the memory card... this is what i wanted to know...
thanks all
or you could just flash a data2sd based custom rom like droidzone's starburst or gingerburst... you'll get upto 2gb of internal memory from the start

[Q] SD-card partitioning / storage layout on desire

Dear XDA forum,
since a few roms i always get a "low on storage" warning, even after factory reset and flashing a new rom.
So i'd want to ask for a small summery of what storage there is inside the desire and on the sdcard and how to solve this problem
My sdcard is 16GB class 10. I didnt partition it manually (i think).
according to my desire it has effective 14.2gb.about 2gb are used and 4gb are free? that doesnt sound right.
so i guess its 2 partitions?
could anyone please tell me which mountpoint is which?
and how do i solve the low storage problem? do i need some a2sd script or do i have to more the internal storage to the sdcard?
which mountpoints do the scripts actarlly move?
i have no problem with repartitioning my sdcard. i was given to understand that u usually need a fat32 partition (for apps i guess) and an ext2/3 partition afterwards. some scripts even allow a swap partition at the end of the sdcard to be used as swap space. is that a good idea?
i know its a lot of questions :/ but i hope for some good answers :>
thanks & greetings,
soomon
my advice would be to backup your sd card and (re)partition using gparted, start from scratch because I don't know what your current configuration is, step 5 here
choose ext3/ext4 partition (max ~1.5GB) depending on rom requirements, most support ext4 and should be slightly faster. most roms don't need swap partition.
in simple terms, your space will get taken up by apps (apks), dalvik cache, app cache and app data. most custom roms will automatically move apks to your sd-ext partition. there are various different scripts which move the other bits around. generally it is better to keep app data on internal (/data partition)
regardless of which rom you choose, use an app like 'diskusage' to browse all your partitions, so you can work out where and how all your space is being use.
to maximise space you also need to be s-off and correct hboot for the rom (again should be stated within each rom thread, or search within it)
ok so the first partition on the sdcard will become my sd-ext which will replace the /data partition on the internal storage.
I guess is hould try data2sd then?
with a class 10 it should not get that slow and i get loads of space on that partition.
thanks for your help.
also use links2d,very usefull.....
hi again,
as i see in a terminal emulator by typing "df -h"
my data is 150mb and has 15mb left, so i guess i better moe the whole partition to the sdcard as i'd have to move all the apps to the sdcard anyway sooner or later.
my /system has only 5mb of 250mb left. is that a problem?
soomon said:
hi again,
as i see in a terminal emulator by typing "df -h"
my data is 150mb and has 15mb left, so i guess i better moe the whole partition to the sdcard as i'd have to move all the apps to the sdcard anyway sooner or later.
my /system has only 5mb of 250mb left. is that a problem?
Click to expand...
Click to collapse
depends entirely what rom you're running if any, and what scripts it uses. basically you should be able to find some way to install many apps without running out of space (one of the main reasons for rooting in the first place ).
with your current setup, you could try something like link2sd to just move apps and dalvik to sd, see if you have enough space that way. you shouldnt have to manually 'move to sd', keeping them on 'internal' tricks them to sd-ext. (you can use something like 'diskusage' to check they're actually on the sd-ext)
the system partition is meant to be mostly full. free space on /system is wasted space.
you're still on stock hboot, which is why your data partition is so small.
if you install another rom, many of them have a smaller system size, so if you're s-off you can flash a different hboot to repartition your internal memory layout: your system size will reduce to roughly match your rom, and the saved space is converted into extra data space, see alpharev.nl for hboots.
e.g. if your rom system is 140MB, will fit nicely into cm7r2 hboot with 145MB system, and you get 287MB of data instead of 150MB. 287MB can be enough to store app data and dalvik cache if you don't have too many apps.
i refer you to these sets of guides for further reading, should explain a lot more, and better than i have...
thanks eddie,
i'm still s-on and stock hboot, but i use a custom rom: http://forum.xda-developers.com/showthread.php?t=1766550
i guess the problem is that LBE gues 4 and lookout together need over 22mb of space :/
i'll try link2sd then.
thanks!
hm.. when i try to install link2sd i get "insufficient storage available". that program is not even 1MB in size and i have 15mb of free space on the internal storage.. what can i do?
edit: i'll try to install it at home with an adb tool. maybe i have more luck with that.
follow instructions for a2sd with that rom (scroll down). this will move apps and dalvik to sd-ext automatically. or follow/search the thread for other methods, it's regularly discussed...
[not used link2sd, it should in theory do the same thing, but my advice would be to stick with the instructions as that's the recommended way if you really need/want to install link2sd...uninstall something else to make more space ]
ofc removing apps might help (althrough i only installed 2 or 3). but 15mb should be enough to install a 800kb software
gonna try to install some apps later after running a2sd.
thanks a lot man didnt see that information.

Categories

Resources