Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
mystica555
Old
#1  
Member - OP
Thanks Meter 2
Posts: 51
Join Date: Feb 2009
Angry 192 megs of ram?!

Hello,

I apologize if this has been covered... It seems that our forum is unable to search for 3 character terms, specifically "192" and "ram".

The G1 is listed as having 192 megs of memory. Yet, running "free" from my rooted RC33(JF1.41) shows:
Code:
$ su
# free
              total         used         free       shared      buffers
  Mem:        99040        96292         2748            0          316
 Swap:            0            0            0
Total:        99040        96292         2748
#

So, where's my other 96 megs?! If -all- this extra ram is being used for 3d (god forbid) I'd gladly tweak a setting to reclaim more ram for RUNNING APPS, versus bling bling.

Anyone have any ideas here?
 
LucidREM
Old
#2  
LucidREM's Avatar
Senior Member
Thanks Meter 4
Posts: 1,569
Join Date: Jan 2009
Location: Baltimore
Quote:
Originally Posted by mystica555 View Post
Hello,

I apologize if this has been covered... It seems that our forum is unable to search for 3 character terms, specifically "192" and "ram".

The G1 is listed as having 192 megs of memory. Yet, running "free" from my rooted RC33(JF1.41) shows:
Code:
$ su
# free
              total         used         free       shared      buffers
  Mem:        99040        96292         2748            0          316
 Swap:            0            0            0
Total:        99040        96292         2748
#

So, where's my other 96 megs?! If -all- this extra ram is being used for 3d (god forbid) I'd gladly tweak a setting to reclaim more ram for RUNNING APPS, versus bling bling.

Anyone have any ideas here?
http://forum.xda-developers.com/show....php?p=3262422
"I fear explanations explanatory of things explained."
There are 10 types of people in this world: one who understands binary and one who does not.
__________________
HTC Dream (T-Mobile) / HTC Sapphire (T-Mobile) | TheOfficial DONUT TMO US/EU & AOSP - v2.6.3
CaNNoN202v2.1_EPE54 | Recovery: RAv1.7.0 | Radio: 2.22.23.02 | 8GB MicroSD
Get ROOT'ed - CR*/DR* | Lucid's "swiss army knife"
 
mystica555
Old
(Last edited by mystica555; 13th February 2009 at 12:33 AM.)
#3  
Member - OP
Thanks Meter 2
Posts: 51
Join Date: Feb 2009
Quote:
Originally Posted by mystica555 View Post
Code:
$ su
# free
              total         used         free       shared      buffers
  Mem:        99040        96292         2748            0          316
 Swap:            0            0            0
Total:        99040        96292         2748
#
And ofcourse I end up reading the reply to my post -after- i write this one. Edited as I'm an idiot.

It still seems to me that 192 megs is A; misleading and B; clearly NOT enough to run this OS, along with radio "firmware" (why cant the radio have its own bloody discrete chip!?)

I presume this huge gaping usage of ram is why the Sprint Touch Pro shows 288 megs of ram; its really 384 with the rest being used by the phone's radio and framebuffer. Gah.

I wonder, will new Android hardware overcome this paltry 96 meg limit?
 
LucidREM
Old
#4  
LucidREM's Avatar
Senior Member
Thanks Meter 4
Posts: 1,569
Join Date: Jan 2009
Location: Baltimore
Quote:
Originally Posted by mystica555 View Post
And ofcourse I end up reading the reply to my post -after- i write this one. Edited as I'm an idiot.

It still seems to me that 192 megs is A; misleading and B; clearly NOT enough to run this OS, along with radio "firmware" (why cant the radio have its own bloody discrete chip!?)

I presume this huge gaping usage of ram is why the Sprint Touch Pro shows 288 megs of ram; its really 384 with the rest being used by the phone's radio and framebuffer. Gah.

I wonder, will new Android hardware overcome this paltry 96 meg limit?
indeed .. but that would be why rooting the G1 is so nice .. move files over to a linux EXT2 partition on the SD card and viola!! ultimate space

i have 1.5G dedicated to the G1 .. keeps the phone free and clear
"I fear explanations explanatory of things explained."
There are 10 types of people in this world: one who understands binary and one who does not.
__________________
HTC Dream (T-Mobile) / HTC Sapphire (T-Mobile) | TheOfficial DONUT TMO US/EU & AOSP - v2.6.3
CaNNoN202v2.1_EPE54 | Recovery: RAv1.7.0 | Radio: 2.22.23.02 | 8GB MicroSD
Get ROOT'ed - CR*/DR* | Lucid's "swiss army knife"
 
mystica555
Old
#5  
Member - OP
Thanks Meter 2
Posts: 51
Join Date: Feb 2009
Default Flash is not SDRAM

Quote:
Originally Posted by LucidREM View Post
indeed .. but that would be why rooting the G1 is so nice .. move files over to a linux EXT2 partition on the SD card and viola!! ultimate space

i have 1.5G dedicated to the G1 .. keeps the phone free and clear
I could care less about the total amount of installed apps; I've got plenty of free yaffs2 flash for what I end up running...I simply don't want my apps to get oom-killed.

I simply wish to run, ALL CONCURRENTLY, (cpu speed be damned!)
Connectbot
HelloAIM!
PicPush
StreamFurious or Last.fm
Gmail
AND the browser
without one or more (or the home screen) forcibly being killed due to out of memory errors.

Load Browser, 2 or 3 of those always end up dying.

A normal commute for me on the bus: I'm chatting on AIM. I've got a irssi session open on my VPS in Connectbot. Last.fm playing some futurepop. I tap the notification bar to read the new email I have, which contains an HTML link. Click the link...Boom, music stops playing. Close browser, homescreen reloads slowly. Go back to connectbot, well, im disconnected.

RAM = Godly.
 
mystica555
Old
#6  
Member - OP
Thanks Meter 2
Posts: 51
Join Date: Feb 2009
Default Let's try this...

Code:
# cd /sdcard
# dd if=/dev/zero of=swap.fil bs=1M count=128
128+0 records in
128+0 records out
# mkswap ./swap.fil
Setting up swapspace version 1, size = 134213632 bytes
# swapon ./swap.fil
# free
              total         used         free       shared      buffers
  Mem:        99040        97112         1928            0          556
Swap:       131064            0       131064
Total:       230104        97112       132992
#
 
andonnguyen
Old
#7  
Senior Member
Thanks Meter 2
Posts: 835
Join Date: Nov 2008
Quote:
Originally Posted by mystica555 View Post
Code:
# cd /sdcard
# dd if=/dev/zero of=swap.fil bs=1M count=128
128+0 records in
128+0 records out
# mkswap ./swap.fil
Setting up swapspace version 1, size = 134213632 bytes
# swapon ./swap.fil
# free
              total         used         free       shared      buffers
  Mem:        99040        97112         1928            0          556
Swap:       131064            0       131064
Total:       230104        97112       132992
#
What does that do? Does it create a swap file on the sd card?

T-mobile G2X
Gingerbread
 
bakgwailo
Old
#8  
Member
Thanks Meter 1
Posts: 98
Join Date: Jan 2009
Quote:
Originally Posted by andonnguyen View Post
What does that do? Does it create a swap file on the sd card?
Yessir
 
LucidREM
Old
#9  
LucidREM's Avatar
Senior Member
Thanks Meter 4
Posts: 1,569
Join Date: Jan 2009
Location: Baltimore
Quote:
Originally Posted by mystica555 View Post
Code:
# cd /sdcard
# dd if=/dev/zero of=swap.fil bs=1M count=128
128+0 records in
128+0 records out
# mkswap ./swap.fil
Setting up swapspace version 1, size = 134213632 bytes
# swapon ./swap.fil
# free
              total         used         free       shared      buffers
  Mem:        99040        97112         1928            0          556
Swap:       131064            0       131064
Total:       230104        97112       132992
#
i'm slightly hesitant to try .. anyone? good / bad / indifferent???
"I fear explanations explanatory of things explained."
There are 10 types of people in this world: one who understands binary and one who does not.
__________________
HTC Dream (T-Mobile) / HTC Sapphire (T-Mobile) | TheOfficial DONUT TMO US/EU & AOSP - v2.6.3
CaNNoN202v2.1_EPE54 | Recovery: RAv1.7.0 | Radio: 2.22.23.02 | 8GB MicroSD
Get ROOT'ed - CR*/DR* | Lucid's "swiss army knife"
 
widto08
Old
#10  
widto08's Avatar
Senior Member
Thanks Meter 28
Posts: 165
Join Date: Nov 2008
Location: Roseville, MI
What exactly will this do and will a reboot cancel this?
Samsung Note 10.1 rooted, stock
Galaxy S 3, Stock, rooted!!! Thank you mrRobinson
HTC One S, not rooted, gave it to my son for the SGS3
Galaxy S Vibrant, rooted w/smaller nand, Slim ICS 4.04 ROM
Rooted G1, retired

Thanks to all the DEV's that made my G1 a DREAM, my Galaxy S so VIBRANT, my GS3 nearly perfect @ SGH-T999, and my Note 10.1 Noteworthy

Quote:
Originally Posted by Z҉A҉L҉G҉O̚̕̚ View Post
Has anyone really been far even as decided to use even go want to do look more like?

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more

One Stop Guide Shop for the Newbie and Dev

It’s been well established that XDA-Developers isthedestination for resources relating to … more

What Happened at Google I/O 2013 – XDA Developer TV

Unless you just emerged from a deep, dark, dank cavern under the Earth, you know … more