[Galaxy S Plus I9001 Android Development] broodplank1337:
Can you please describe in what way you cannot end the call? Is the big red button greyed out? (as its disabled) or nothing happens when you press it? Or the screen continuously fades to black? Please be a bit more specific, else I really don't know what to answer

The first thing you say is kinda weird and theoretically impossible, but practically possible it seems. the LMK function in android should have taken care of that already. Maybe its some app that has a huge memory leak:eek: . and idd you should try out several thing that will make you sure about your situation because it's just too weird for a normal usage.

Possible things that affect the memory:

- LMK (services.jar and/or init.rc in kernels ramdisk)

- Apps that have been coded poorly

- Dalvik-cache size (dalvik heap size)

And to be completely honest, the GAPPS package is the one causing the high ram usage. Install the rom without GAPPS and it flies, install GAPPS and there goes the free mbs..

Basically we only need the ability to Sync (contacts) and the market right?

The ram thing still remains a mystery (for me in some cases), is there actually 512mb ram present in the device at all? No there is not..? even if you calculate the reserved ram with it you will never come near the 500mb.. its more like it has 400mb ram which makes no sense since its not even a sane number. Am i crazy or is this ram thing just way to overcomplicated.

root@android:/ # cat proc/meminfo
MemTotal: 378824 kB
MemFree: 11896 kB sure who believes I only have 11mb free.. android (settings > apps) say that i have over 130mb free.
Buffers: 1016 kB
Cached: 61332 kB
SwapCached: 0 kB
Active: 266896 kB
Inactive: 32780 kB
Active(anon): 241692 kB
Inactive(anon): 216 kB
Active(file): 25204 kB
Inactive(file): 32564 kB
Unevictable: 4320 kB
Mlocked: 3000 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 241684 kB
Mapped: 40832 kB
Shmem: 3260 kB
Slab: 8888 kB
SReclaimable: 2792 kB
SUnreclaim: 6096 kB
KernelStack: 4576 kB
PageTables: 6408 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 189412 kB
Committed_AS: 3199456 kB
VmallocTotal: 417792 kB (408mb ram for dalvik in total)
VmallocUsed: 38776 kB (only 37mb of dalvik ram used, where the **** goes the resT)
VmallocChunk: 348164 kB

Anyways, it's jellybean that eats the ram for some reason.. (whatsapp also takes about 35mb by default) what is the difference between ics and jb, almost nothing, but it eats WAY more ram.

I think its just a problem that our device has so little ram, the new devices have 2gb, imagine how nice that is, having 20 apps open and still not even using 50% (but only on AOSP/CM because the stock roms always have a overloaded ram, even with 2gb you will use 80% of your total ram at all times :S)

Ok I think I raged enough on the ram now, I hope you can get it right :silly:

my conclusion: 512mb is really becoming insufficient for JB.... Try SWAP if you cannot find a good solution (use file on sdcard or so and increase read ahead kb for better reading speeds)

I think our best answer is at skywalker01, he knows answers to all our questions ;p

(I also only use linux for not even 2 years now, some people grew up with that OS at home, I've been on DOS/Windows since I was 3. and only recently changed because of android. People who are on linux their whole lives can maybe explain this I hope)

Thats normal so it should be that, I always do that