kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Process memory
@ 2014-06-05  6:35 Pratap kommula
  2014-06-05  6:46 ` bill4carson
  2014-06-05  6:50 ` Mulyadi Santosa
  0 siblings, 2 replies; 5+ messages in thread
From: Pratap kommula @ 2014-06-05  6:35 UTC (permalink / raw)
  To: kernelnewbies

Hi,

How do we know that how much memory allocated for a process and how to set
a limit on it?


Thanks,
Pratap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140605/1cdee924/attachment.html 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Process memory
  2014-06-05  6:35 Process memory Pratap kommula
@ 2014-06-05  6:46 ` bill4carson
  2014-06-05  6:50 ` Mulyadi Santosa
  1 sibling, 0 replies; 5+ messages in thread
From: bill4carson @ 2014-06-05  6:46 UTC (permalink / raw)
  To: kernelnewbies



On 2014?06?05? 14:35, Pratap kommula wrote:
> Hi,
>
> How do we know that how much memory allocated for a process and how to set a limit on it?

1. top RES column
2. setrlimit or mem cgroup


>
> Thanks,
> Pratap
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

-- 
?????????,??????????

--bill

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Process memory
  2014-06-05  6:35 Process memory Pratap kommula
  2014-06-05  6:46 ` bill4carson
@ 2014-06-05  6:50 ` Mulyadi Santosa
  2014-06-05 10:10   ` Pratap kommula
  1 sibling, 1 reply; 5+ messages in thread
From: Mulyadi Santosa @ 2014-06-05  6:50 UTC (permalink / raw)
  To: kernelnewbies

On Thu, Jun 5, 2014 at 1:35 PM, Pratap kommula <pratapkommula@gmail.com> wrote:
> Hi,
>
> How do we know that how much memory allocated for a process and how to set a
> limit on it?

Are you referring to resident set size or committed memory size?


Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Process memory
  2014-06-05  6:50 ` Mulyadi Santosa
@ 2014-06-05 10:10   ` Pratap kommula
  2014-06-05 13:30     ` Anil SB
  0 siblings, 1 reply; 5+ messages in thread
From: Pratap kommula @ 2014-06-05 10:10 UTC (permalink / raw)
  To: kernelnewbies

I am referring to the committed memory size not RSS.

Thanks,
Rammohan


On Thu, Jun 5, 2014 at 12:20 PM, Mulyadi Santosa <mulyadi.santosa@gmail.com>
wrote:

> On Thu, Jun 5, 2014 at 1:35 PM, Pratap kommula <pratapkommula@gmail.com>
> wrote:
> > Hi,
> >
> > How do we know that how much memory allocated for a process and how to
> set a
> > limit on it?
>
> Are you referring to resident set size or committed memory size?
>
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140605/e244dd8f/attachment.html 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Process memory
  2014-06-05 10:10   ` Pratap kommula
@ 2014-06-05 13:30     ` Anil SB
  0 siblings, 0 replies; 5+ messages in thread
From: Anil SB @ 2014-06-05 13:30 UTC (permalink / raw)
  To: kernelnewbies

> I am referring to the committed memory size not RSS.

IMU - you could get the committed_as for the entire system easily
(using "grep Committed_AS /proc/meminfo"), normally its the kernel
responsibility to keep track of the over-committed memory, the process
will not get to see an actual increase in RSS unless the process
starts using the requested / malloc()-ed memory. It should be possibly
to notice an increase in VIRT (from top) or VSZ (valgrind) when the
committed_AS for a process goes up.


On Thu, Jun 5, 2014 at 3:40 PM, Pratap kommula <pratapkommula@gmail.com> wrote:
> I am referring to the committed memory size not RSS.
>
> Thanks,
> Rammohan
>
>
> On Thu, Jun 5, 2014 at 12:20 PM, Mulyadi Santosa <mulyadi.santosa@gmail.com>
> wrote:
>>
>> On Thu, Jun 5, 2014 at 1:35 PM, Pratap kommula <pratapkommula@gmail.com>
>> wrote:
>> > Hi,
>> >
>> > How do we know that how much memory allocated for a process and how to
>> > set a
>> > limit on it?
>>
>> Are you referring to resident set size or committed memory size?
>>
>>
>> Mulyadi Santosa
>> Freelance Linux trainer and consultant
>>
>> blog: the-hydra.blogspot.com
>> training: mulyaditraining.blogspot.com
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-05 13:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-05  6:35 Process memory Pratap kommula
2014-06-05  6:46 ` bill4carson
2014-06-05  6:50 ` Mulyadi Santosa
2014-06-05 10:10   ` Pratap kommula
2014-06-05 13:30     ` Anil SB

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).