Nexus One RAM 386 or 512MB? - Nexus One Q&A, Help & Troubleshooting

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).

Related

Memory?

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?

Froyo FRF85B issues

So I just installed Froyo FRF85B and well, I have a couple issues. First off, the boot up now seems to take almost 10 minutes, second off, I went into Froyo with 50 megs free, and I came out with 50 megs free as well.
My understanding is Froyo should have freed up more memory for me. Anyone have any ideas?
Who told you Froyo would free up space? It might clear out your cache, but that's about it.
ATnTdude said:
Who told you Froyo would free up space? It might clear out your cache, but that's about it.
Click to expand...
Click to collapse
Eclair didn't have access to the full 512 ram. The people who had installed prerelease Froyo reported more available internal ram. I also have more available running memory as well. Went from 30 megs to 250 megs of available application memory. Which is kind of useless if I can't install that much in programs.
naturefreak85 said:
So I just installed Froyo FRF85B and well, I have a couple issues. First off, the boot up now seems to take almost 10 minutes, second off, I went into Froyo with 50 megs free, and I came out with 50 megs free as well.
My understanding is Froyo should have freed up more memory for me. Anyone have any ideas?
Click to expand...
Click to collapse
1st boot always takes a while
flybyme said:
1st boot always takes a while
Click to expand...
Click to collapse
Any viewpoint on the free memory? And it was the 2nd and 3rd boots that seemed to take forever.
naturefreak85 said:
Eclair didn't have access to the full 512 ram. The people who had installed prerelease Froyo reported more available internal ram. I also have more available running memory as well. Went from 30 megs to 250 megs of available application memory. Which is kind of useless if I can't install that much in programs.
Click to expand...
Click to collapse
get your terms right else you will confuse people. memory can be rom or ram
rom hasnt been changed. available ram has been increased. your rom is whats used for installing applications. ram has no effect on available storage
Problems!
I just got the T-mobile update to FRF85B but I am still having problems playing WAV files from an exchange account. Can someone please test theirs and see if they are able to listen to WAV files? I get the message:
"Sorry, the player does not support this type of audio file."
Btw, it worked fine on Android 2.1.
Also, whenever I get notifications, the pulse notification light is only flashing a white LED and not repeatedly.
astroblack said:
Also, whenever I get notifications, the pulse notification light is only flashing a white LED and not repeatedly.
Click to expand...
Click to collapse
this is controlled by applications. froyo brings colored trackballs, but only if apps support it
I had trouble with swype saying that it's not compatible with my device. But got it to work after I re installed swype and rebooted.
flybyme said:
get your terms right else you will confuse people. memory can be rom or ram
rom hasnt been changed. available ram has been increased. your rom is whats used for installing applications. ram has no effect on available storage
Click to expand...
Click to collapse
Really? ROM is where I install my applications? Are you sure? I install my applications in READ ONLY Memory? That would be wrong. The ROM is where the actual firmware is stored, not where applications are stored.
That's because it's EEPROM, that is, Electronically Erasable and Programmable Read Only Memory.
Just because it can be flashed with new data doesn't make it Random Access though.
ChronoReverse said:
That's because it's EEPROM, that is, Electronically Erasable and Programmable Read Only Memory.
Just because it can be flashed with new data doesn't make it Random Access though.
Click to expand...
Click to collapse
Right and that is used for the actual OS not for the application storage. When people put say Cyanogen on their devices it is using the ROM (as far as my understanding) the RAM is used for the application storage and the memory for running applications. My issue was resolved when I wiped out my device, gave me access to 180 MB and still left nearly 250 of memory for running applications.
From what I can tell the RAM is split between the program storage and the running application memory.
ok buddy. you know what your talking about....
naturefreak85 said:
Right and that is used for the actual OS not for the application storage. When people put say Cyanogen on their devices it is using the ROM (as far as my understanding) the RAM is used for the application storage and the memory for running applications. My issue was resolved when I wiped out my device, gave me access to 180 MB and still left nearly 250 of memory for running applications.
From what I can tell the RAM is split between the program storage and the running application memory.
Click to expand...
Click to collapse
The RAM is the memory programs run in. RAM is volatile and will lose its contents when power is cut. You certainly don't lose your programs if you pull out your battery.
I shouldn't have said EEPROM actually. The Application Storage is actually flash-type memory, the same kind used in SD cards for instance.
So there are three basic parts: ROM, 512MB internal flash (+ external flash) and 512MB RAM. HOWEVER, it's possible part of the flash is used as the ROM.
ChronoReverse said:
The RAM is the memory programs run in. RAM is volatile and will lose its contents when power is cut. You certainly don't lose your programs if you pull out your battery.
I shouldn't have said EEPROM actually. The Application Storage is actually flash-type memory, the same kind used in SD cards for instance.
So there are three basic parts: ROM, 512MB internal flash (+ external flash) and 512MB RAM. HOWEVER, it's possible part of the flash is used as the ROM.
Click to expand...
Click to collapse
flash memory is still a type of EEPROM lol
@OP read these articles
http://en.wikipedia.org/wiki/ROM_image
http://en.wikipedia.org/wiki/Random_access_memory
http://en.wikipedia.org/wiki/Volatile_memory
http://en.wikipedia.org/wiki/Non-volatile_memory
naturefreak85 said:
Really? ROM is where I install my applications? Are you sure? I install my applications in READ ONLY Memory? That would be wrong. The ROM is where the actual firmware is stored, not where applications are stored.
Click to expand...
Click to collapse
yes he is exactly right. the nexus has 512 mb of RAM and 512 mb of ROM. the 512 of ROM is where the OS, your installed apps, and user data all gets installed. the 512 mb of RAM is active memory that runs the apps. you cannot install apps to the RAM, it is volatile as said above. you sure can install apps to the 512 mb ROM though, and that is exactly the way the nexus works. any app you have installed to your phone goes on the 512 mb of ROM. the OS takes up some of that, so when you check in your settings, you only see like 180mb left or so on a fresh factory install with no apps yet installed. as you install apps, that amount goes down as you use it up.
flybyme said:
flash memory
Click to expand...
Click to collapse
Yes but it works differently from traditional (or rather, the original) EEPROM so I wanted to distinguish it.
In short
RAM = the place where all processes running. OS will load the apps/programs to RAM before it can processed by CPU, and at this stage it called processes.
From 512MB RAM, typical N1's Froyo's stock kernel can access up to 394MB of RAM. Here is the dmesg ouput f
Code:
<6>[ 0.000000] Memory: 128MB 91MB 175MB = 394MB total
<5>[ 0.000000] Memory: 394360KB available (3936K code, 971K data, 120K init,
272384K highmem)
How many processes can be run at the same time are limited to the RAM availability.
ROM = the place where the apps/progs being stored. Same thing as we stored/installed programs/apps in hard disk drive.
in N1, "ROM" is just a flash memory, similar to usb thumb drive. The contents always available even if you powered your device down. Yeah, apps also can be stored into microSD card.
How many apps you can install are limited to how may free spaces left in your storage, ie, "ROM" and SD card.
Thank you.
I have frf85b for att version (using for vodcom in Tanzania) but my tether doesn't work. I can see the network and connect but no internet. I think its DNS problem because my computer can ping the internet but nothing past that.
Sent from my Nexus One using XDA App
michaelbart0n said:
I have frf85b for att version (using for vodcom in Tanzania) but my tether doesn't work. I can see the network and connect but no internet. I think its DNS problem because my computer can ping the internet but nothing past that.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Mine was doing the same thing at first. Then I opened the browser on my phone to check that the 3G connection was working, and suddenly the computer had access too. It might have just been a coincidence...

[Q] Captivate total 341 RAM and 13GB SD memory

I have my Captivate on Froyo , but RAM data reports I have only 341mb RAM in total and 13GB total of internal SD memory. I thought the Cappy had 512MB and 16GB. Is this ok? I also have an external 2GB and the same summary reports it correctly (2GB total)
Garoto1973 said:
I have my Captivate on Froyo , but RAM data reports I have only 341mb RAM in total and 13GB total of internal SD memory. I thought the Cappy had 512MB and 16GB. Is this ok? I also have an external 2GB and the same summary reports it correctly (2GB total)
Click to expand...
Click to collapse
That is normal, not all the space and ram is available for use
Sent from my SGH-I897 using XDA App
much of the ram is dedicated to system functions and video processing, yes een when you arent filming or playing anything. the tab seems to work differently but i guess they thought this would work fine on a phone and they are right. you will never need 512 anyway. i tend to use roms by eugene373 from the vibrant forum and they have a small memory footprint and more aggressive minfree settings. lots of ram available, out of the 340 some odd that you can see i usually have over 100megs free.
out of the 16gig sd 2gig or so is devided between the rom and the data partition for apps. factor in formatting and you will see 13 and change to 14 depending on how you count a gigabyte. 1000byte*1000*1000 vs 1024*1000*1000 vs 1024*1024*1000. different software calculates it differently. look at a terabye external drive, it is usually rounded up and doesnt even make a terabyte by the 1000*1000*1000*1000 meathod. then subtract a few in formatting and you will see something like 986gig in windows. of coarse it varies from drive to drive but inflating the numbers is common practice in advertising.

[Q] Streak 7 wifi only system RAM less than expected

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!

Multi tasking problem

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
:/ $

Categories

Resources