hi forum,
am on rooted stock p7310 ICS, device is p7300
I noticed that when my user storage space /data drops below 500mb, my tab gives a "Low on space, tablet storage space is getting low" notification and locks down a number of basic functions: it refuses to install or update any apps from market, and most background sync fails (like push notifications from news apps, ...). Worse, gmail refuses to sync entirely, background and foreground.
the same happens on my phone (HTC desire), with the limit being 15mb; and on basically every other android device (e.g. the nexus 7 where 500mb on a 8gb tablet is proportionally very much)
my question is,
1) is there a way to change the threshold? 500mb seems like an awful lot of unusable space.
2) does cm10 or aosp on the tab use the same threshold ?
below some df results ... with and without low on space warning
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 360M 68K 360M 4096
/mnt/asec 360M 0K 360M 4096
/mnt/obb 360M 0K 360M 4096
/system 667M 650M 16M 4096
/cache 342M 5M 336M 4096
/data 13G 12G 499M 4096
/efs 11M 8M 3M 4096
/mnt/sdcard 13G 12G 399M 4096
[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 360M 68K 360M 4096
/mnt/asec 360M 0K 360M 4096
/mnt/obb 360M 0K 360M 4096
/system 667M 650M 16M 4096
/cache 342M 5M 336M 4096
/data 13G 12G 503M 4096
/efs 11M 8M 3M 4096
/mnt/sdcard 13G 12G 403M 4096
Sent from xda app-developers app
Related
How come I dont get consistent reports of how much memory is free/being used?
Right now Advanced task manager is showing
Code:
free Mem: 42MB
Free is showing
Code:
total used free shared buffers
Mem: 98024 94944 3080 0 280
Swap: 31172 14440 16732
Total: 129196 109384 19812
and htop is showing
Code:
Mem [73/95MB]
Swp [14/30MB]
Also (out of whichever of these values is most accurate) are my values typical For a G1 while idle?
So i downloaded an app called "Quick System Info". And it shows memory as:
Total: 386MB, Free: 284MB, Idle: 135MB
Any idea why the total amount of RAM not 512MB?
I am running 2.2.1 stock on a S-LCD N1.
syl0n said:
So i downloaded an app called "Quick System Info". And it shows memory as:
Total: 386MB, Free: 284MB, Idle: 135MB
Any idea why the total amount of RAM not 512MB?
I am running 2.2.1 stock on a S-LCD N1.
Click to expand...
Click to collapse
..maybe this helps http://forum.xda-developers.com/showpost.php?p=8330592&postcount=48
OK. So essentially a 126MB RAM disk is created by the boot up process?
syl0n said:
So i downloaded an app called "Quick System Info". And it shows memory as:
Total: 386MB, Free: 284MB, Idle: 135MB
Any idea why the total amount of RAM not 512MB?
I am running 2.2.1 stock on a S-LCD N1.
Click to expand...
Click to collapse
Using free at the command line I get:
Code:
free
total used free shared buffers
Mem: 416188 343684 72504 0 12272
Swap: 0 0 0
Total: 416188 343684 72504
The the rest of the 512 is mapped for the Radio/gpu/sound after that there is the kernel and the framework and that's before you run anything.
I'd like to get to the bottom of this too.
1) I don't think the zimage takes up a lot of memory when decompressed. Its about 2MB compressed.
2) Is it possible that the memory address space is only 512MB?
i.e. the address bus is only 29 bits wide?
edit:
This explains it: http://forum.xda-developers.com/showpost.php?p=5298630&postcount=5
To me its akin to an on-board video card on your PC reserving 16/32/x MB of video.
britoso said:
I'd like to get to the bottom of this too.
1) I don't think the zimage takes up a lot of memory when decompressed. Its about 2MB compressed.
2) Is it possible that the memory address space is only 512MB?
i.e. the address bus is only 29 bits wide?
edit:
This explains it: http://forum.xda-developers.com/showpost.php?p=5298630&postcount=5
To me its akin to an on-board video card on your PC reserving 16/32/x MB of video.
Click to expand...
Click to collapse
Um yeah, so the 256 memory limtation was fixed in 2.2. That post is from January. The top part of it I'd assume is still the same. Must allocate memory to various things. My N1 shows 400M total from free or /proc/meminfo, (408600 bytes).
I'm about to format my SD card and want to wipe everything. I've already wiped its partitions by formatting the card in Stock Nook >> Settings >> Format SD Card.
Now when I go to format it on my PC, I'm not sure what I should choose for "Unit allocation size". Is there an optimal size? I get the following options:
16 kb
32 kb
64 kb
2048 b
4096 b
8192 b
I've always wondered about this, thanks for any comments.
Any thoughts on this? Does it even matter?
Depending on how big your SD card is, the smaller the size, the better use of your drive space. But smaller size also means more management. You have to remember, a file that is two bytes in size will still use up the whole allocation unit, so you'd be wasting space with larger unit sizes, but it's easier to manage fewer units. Somewhere in the middle is best.
Sent from my LogicPD Zoom2 using XDA App
This is formating right? When I formated mine I did fat32, don't remember seeing these choices. Wonder if that's why my SD class 10 is not working.
Right, formatting. Windows doesn't give you too many options, but there are some.
Sent from my LogicPD Zoom2 using XDA App
Thanks for the response. I search everywhere and could not find any info on this. I have 2 8GB cards.
Although I never did find the official specs from Dell for this device I thought it had 512M system RAM. 'free' returns far less than the expected amount of RAM
With Streakdroid7-v1.3
Code:
sh-4.1# free
total used free shared buffers
Mem: 371020 235908 135112 0 17696
Swap: 0 0 0
Total: 371020 235908 135112
With Streakdroid-HD7-2.0RC2.5
Code:
# free
total used free shared buffers
Mem: 351996 348628 3368 0 5648
Swap: 0 0 0
Total: 351996 348628 3368
The total should be more like 524288 K
What am I missing here?
uhmzilighase said:
Although I never did find the official specs from Dell for this device I thought it had 512M system RAM. 'free' returns far less than the expected amount of RAM
The total should be more like 524288 K
What am I missing here?
Click to expand...
Click to collapse
Most likely some of it is allocated to video, but yeah, that's quite a big chunk missing (150m).
yep. Look at dmesg.. mem=376M nvmem=128M
It has 512 meg of ram but only 384 is user addressable, per the spec , I am guessing the 128 is video ram , but that is only a guess ...
Sure 'nuf
Code:
dmesg|grep Kernel
<5>[ 0.000000] Kernel command line: [email protected] [email protected] I
Thanks!
Hi,
I have Lancelot phone (4gb) running Miu 13.0.2 global - android 12
After latest update..
I have some issues:
Reboot takes really long.
My WiFi router keeps disconnecting me it's a Fritzbox.. random Mac is disabled but router logs says not?
Multi tasking no-longer works,
Power save Miu optimization is off
I have "auto start" on.
I have "lock icon" above app ( using security app)
But as soon as I go from say chrome browser to a notepad app.. it reloads the app Vs keeping it running in the background
Other things:
Screenshot with scroll doesn't work.
Chrome browser/ share icon / save as jpeg crashes browser.
Listening long periods you get a notification warning about listening to long?
Random wallpaper app keeps running.. sending notifications..why?
I appreciate the help.
Solved:
Share app : I deleted..it just caused chrome to crash
The auto wallpaper changer app: deleted
The warning headphones app: I disabled
I have the same. The phone ran better on MIUI 12 than on 13. I looked into the issue and it is RAM-starved on MIUI 13. The firmware just uses so much RAM by itself, that not enough is left for your apps. At least on my model wiht 3GB RAM.
I have a few things installed that run in background (Blokada ad blocker, Whatsapp, Threema, GMX mail) and there's not enough RAM that I reliably get a notification when someone sends me a Whatsapp message.
I plan to switch to LineageOS soon.
Yesterday, I took the time to deep dive in the settings
Yet..no clue what's going on..
Free User available ram = 1.5 GB says phone
Sad..that there is no..revert update function.
It did send a bug report..let's hope it gets fixed
As for security, I use netguard with adguard DNS. ( Blocking lots of apps from phoning home or using my mobile data while blocking ads )
Mitchell4you. said:
Free User available ram = 1.5 GB says phone
Click to expand...
Click to collapse
Yeah, but that doesn't seem correct. I currently have no foreground apps open, just on the launcher the UI says "1.2 GB of 3.0 GB available".
But top shows this:
Tasks: 695 total, 1 running, 694 sleeping, 0 stopped, 0 zombie
Mem: 2758004K total, 2692880K used, 65124K free, 10536K buffers
Swap: 2097148K total, 905024K used, 1192124K free, 1167604K cached
...
2.69GB of 2.76GB used. 65MB free, 10MB buffers, and even 905MB swap are used already.
Same with "free -m":
total used free shared buffers
Mem: 2693 2606 86 52 9
-/+ buffers/cache: 2597 95
Swap: 2047 812 1235
Only 86MB RAM free without any user foreground app running, and 812MB swap already used.
I guess the available RAM display in MIUI is just wrong. It seems to count the free swap space as free RAM. (But doesn't count swap size towards total size.
I stumbled upon the option to disable apps via adb pm. There one can also disable apps where it is greyed out in the settings/manage apps UI.
See e.g. https://selivan.github.io/2020/02/25/removing-bloatware-from-xiaomi-miui-android.html
I noticed that "com.google.android.googlequicksearchbox" uses about 300MB RAM although I do not use it.
Do "adb shell" and then e.g. "pm disable-user com.google.android.googlequicksearchbox".
I disabled some more (Google One, Google Wallet, GMail, com.google.android.apps.turbo, com.xiaomi.joyose. com.facebook.system, Mi browser, Mi Health, MIUI ads, MIUI analytics, ...) Will see how it works out.
There several packages using up RAM which are useless for me (support for NFC payment on WeChat or fingerprint payment in AliExpress).
Code:
:/ $ free -m
total used free shared buffers
Mem: 3701 3546 154 64 37
-/+ buffers/cache: 3509 191
Swap: 2251 1033 1218
:/ $
Indeed..
Code:
:/ $ cat /proc/meminfo
MemTotal: 3790152 kB
MemFree: 138952 kB
MemAvailable: 1219616 kB
Buffers: 18420 kB
Cached: 1252720 kB
SwapCached: 125024 kB
Active: 1422752 kB
Inactive: 733888 kB
Active(anon): 763628 kB
Inactive(anon): 288660 kB
Active(file): 659124 kB
Inactive(file): 445228 kB
Unevictable: 95936 kB
Mlocked: 95936 kB
SwapTotal: 2306044 kB
SwapFree: 1290616 kB
Dirty: 72 kB
Writeback: 0 kB
AnonPages: 967296 kB
Mapped: 949036 kB
Shmem: 71896 kB
KReclaimable: 111464 kB
Slab: 218172 kB
SReclaimable: 60940 kB
SUnreclaim: 157232 kB
KernelStack: 57776 kB
PageTables: 90692 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 4201120 kB
Committed_AS: 91750508 kB
VmallocTotal: 263061440 kB
VmallocUsed: 106608 kB
VmallocChunk: 0 kB
CmaTotal: 327680 kB
CmaFree: 40196 kB
:/ $