Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
I think that it is fair to say that "mileage varies" even in this simple test....

In a running application, things get more complicated than just "give me a MB" and then immediately I give you back a MB. Over time memory typically becomes more and more fragmented and it becomes more difficult to give back a "useable chunk" of memory...mileage does vary. And this does depend upon the malloc() that is being used. And of course the code.

My original statement was not completely accurate. Sorry about that.

C:perl -E"say `tasklist|find \"$$\"`; $x=chr(0); $x x= 1040352; say ` +tasklist|find \"$$\"`; undef $x; say `tasklist|find \"$$\"`" perl.exe 2208 Console 0 2,556 K perl.exe 2208 Console 0 3,600 K perl.exe 2208 Console 0 2,584 K C:perl -E"say `tasklist|find \"$$\"`; $x=chr(0); $x x= 1040352; say ` +tasklist|find \"$$\"`; undef $x; say `tasklist|find \"$$\"`" perl.exe 576 Console 0 2,552 K perl.exe 576 Console 0 3,592 K perl.exe 576 Console 0 2,576 K C:perl -E"say `tasklist|find \"$$\"`; $x=chr(0); $x x= 1040352; say ` +tasklist|find \"$$\"`; undef $x; say `tasklist|find \"$$\"`" perl.exe 5712 Console 0 2,556 K perl.exe 5712 Console 0 3,600 K perl.exe 5712 Console 0 2,584 K C:perl -E"say `tasklist|find \"$$\"`; $x=chr(0); $x x= 1040352; say ` +tasklist|find \"$$\"`; undef $x; say `ta sklist|find \"$$\"`" perl.exe 5468 Console 0 2,552 K perl.exe 5468 Console 0 3,596 K perl.exe 5468 Console 0 2,580 K

In reply to Re^5: Timing of garbage collection by Marshall
in thread Timing of garbage collection by dd-b

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!
  • 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, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others exploiting the Monastery: (6)
    As of 2014-07-30 04:19 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (229 votes), past polls