Re: [android-kernel] Regarding linux process memory usage

2013-01-20 Thread Manjeet Pawar
Thanks Emeric:-) On Fri, Jan 18, 2013 at 4:15 AM, Emeric VIGIER wrote: > Manjeet, > > That's interesting... I am not quite sure 'free' and 'proc/mem/info' > include any sensitive information for your company. > If you stored your last sales figures in those files, believe me, it is a > wrong

Re: [android-kernel] Regarding linux process memory usage

2013-01-18 Thread Emeric VIGIER
Manjeet, That's interesting... I am not quite sure 'free' and 'proc/mem/info' include any sensitive information for your company. If you stored your last sales figures in those files, believe me, it is a wrong wrong idea... Also it is probably against your company policy to expose your problems on

Re: [android-kernel] Regarding linux process memory usage

2013-01-17 Thread Manjeet Pawar
@Emric...I would have do that , but I am sorry I can't do anything against of company policy... But u can do @ ur side... Write a simple program and do malloc and memset in while(1) , it will give u OOM (if u have enabled it or if u have applied OOM patch)... then you can checkout all the informa

Re: [android-kernel] Regarding linux process memory usage

2013-01-17 Thread Emeric VIGIER
Can you make a print of what returns "free" command and /process/meminfo? It would help us target our answer to your specific example. Emeric Le 17 janv. 2013 04:10, "Manjeet Pawar" a écrit : > Hi all, > > I have a issue regarding memory . > > I ran a program on my board that continuously do mal

[android-kernel] Regarding linux process memory usage

2013-01-17 Thread Manjeet Pawar
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 me