Just to chime in with my results. I don't know what version of perl sgifford was using, but I'm running perl 5.8.2 under Debian Linux. My results are:

VmSize: 3364 kB (start) VmLck: 0 kB (start) VmRSS: 1276 kB (start) VmData: 708 kB (start) VmStk: 16 kB (start) VmExe: 1064 kB (start) VmLib: 1480 kB (start) VmSize: 22900 kB (allocated) VmLck: 0 kB (allocated) VmRSS: 20832 kB (allocated) VmData: 20244 kB (allocated) VmStk: 16 kB (allocated) VmExe: 1064 kB (allocated) VmLib: 1480 kB (allocated) VmSize: 13132 kB (freed) VmLck: 0 kB (freed) VmRSS: 11068 kB (freed) VmData: 10476 kB (freed) VmStk: 16 kB (freed) VmExe: 1064 kB (freed) VmLib: 1480 kB (freed)

My system seems to start with half a meg more RAM used (556K), but the percentage freed seems similar (42.7% for me vs. 43.7% for sgifford).

Does this imply a memory leak somewhere in perl, or that the garbage collector is caching the memory allocated for re-allocation later?


In reply to Re: Re: Re: Memory usage breakup by Belgarion
in thread Memory usage breakup by eXile

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.