Find the answer to your Linux question:
Results 1 to 4 of 4
Does ever growing SZ from ps indicate memory leak?...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    2

    MEMORY leak

    Does ever growing SZ from ps indicate memory leak?

  2. #2
    Just Joined!
    Join Date
    Dec 2007
    Location
    bangalore,india
    Posts
    4
    can you please send the question in detail ??

  3. #3
    Just Joined!
    Join Date
    Feb 2008
    Posts
    2
    SZ field according to my ps`s man page is
    sz The size in physical pages of the core image of
    the process, including text, data, and stack
    space. Physical page size is defined by
    _SC_PAGE_SIZE in the header file <unistd.h> (see
    sysconf(2) and unistd(5))

    _SC_PAGE_SIZE is 3001.

    And this SZ field for my process keeps increasing by 32. Is it an indication of Memory Leak ?

  4. #4
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    Yes, unless the program has a legitimate reason to need more and more memory. Deciding whether that's true could be complicated, of course.
    --
    Bill

    Old age and treachery will overcome youth and skill.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...