Subject: |
Re: Question about displaying process memory allocation on Linux |
From: |
Andrew Johnson <[email protected]> |
To: |
<[email protected]> |
Date: |
Tue, 26 Jun 2018 11:02:00 -0500 |
Hi Mark,
On 06/26/2018 08:51 AM, Mark Rivers wrote:
> This is what I see after I process the EmptyFreeList record. Note that
> VSZ has only decreased by about 0.2GB, not by 3GB which I would have
> expected. Can anyone explain?
>
> corvette:dxpSITORO/iocBoot/iocFalconX1>ps -p 115038 -o trs,vsz,drs
>
> TRS VSZ DRS
>
> 15838 7974816 7958977
On linux (using glibc) the C runtime library won't return memory back to
the OS by default, but you can ask it to do so. The first answer to this
StackOverflow question gives some explanation and pointers:
https://stackoverflow.com/questions/2215259/will-malloc-implementations-return-free-ed-memory-back-to-the-system
HTH,
- Andrew
--
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon
- Replies:
- RE: Question about displaying process memory allocation on Linux Mark Rivers
- References:
- Question about displaying process memory allocation on Linux Mark Rivers
- Navigate by Date:
- Prev:
RE: Question about displaying process memory allocation on Linux Mark Rivers
- Next:
RE: Question about displaying process memory allocation on Linux Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Question about displaying process memory allocation on Linux Mark Rivers
- Next:
RE: Question about displaying process memory allocation on Linux Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024
|