Hi All ,

I am also having the same kind of issue in my recent Android project . I am 
getting free RAM memory values degrading as compared to other branch code 
which is based on 3.4.5 kernel with jelly bean , in current branch we are 
using kernel 3.10.17 with Kitkat , from the logs and cat/proc/meminfo we 
are getting diff of total 62 MB free RAM . I am suspecting there should be 
some memory leak happning inside kernel or native or userspace java code or 
any otherthing which i am not able to track ,any suggestions for this issue 
how to find or track that free memory usage . As far as kernel memleak is 
concerned i have already tested that with kmem leak option enabled and i 
would not found any memleak inside kernel . ANY IDEA, who consumed the rest 
of the RAM memory.

On Thursday, January 17, 2013 2:40:10 PM UTC+5:30, mpchap wrote:
>
> Hi all,
>
> I have a issue regarding memory .
>
> I ran a program on my board that continuously do malloc and write some 
> data at that memory location and put this code in while loop. it ran for 
> some
> time untill it consume the whole of the memory and then given a OOM. where 
> we get information about the memory consumed and free memory.
>
> But when i adds up the userspace memory and kernel memory which gives 
> total used memory and I know the total free memory available(cat 
> /proc/meminfo)...But I get the free memory available much lesse than the 
> expected value. 
>
> I am confused where is the rest of memory .
>
> I adds user space memory=active anon+ inactive anon+ active file + 
> inactive file
>
> and kernel memory usage is =slab reclaimable and slab unreclaimable + 
> kernel stack+page tables
>
> this give the total memory used. But when I subtract this total used 
> memory from the total available memory , a large chunk should be free, but 
> practically after getting OOM I am leaving with a small memory
>
> ANY IDEA, who consumed the rest of the memory.
>
> Regards
> Manjeet 
>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to