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

Re: Hunting for a memory leak

by sundialsvc4 (Abbot)
on Aug 08, 2012 at 03:06 UTC ( #986121=note: print w/replies, xml ) Need Help??

in reply to Hunting for a memory leak

That is quite the bit of entirely-gratuitous “sleuthing” that you have done in order to solve this problem, BrowserUK.   And thoroughly well-done it was, too.   There are not too many web-sites out there where this sort of thing would be de rigueur, let alone for it all to have been done within just a few hours of the original post.   Very impressive.   Thank you.

Replies are listed 'Best First'.
Re^2: Hunting for a memory leak
by BrowserUk (Pope) on Aug 08, 2012 at 08:26 UTC
    That is quite the bit of entirely-gratuitous “sleuthing” that you have done in order to solve this problem,

    Arg! Actually, it wasn't that much; and it wasn't gratuitous. About 15 minutes effort total spread over the periods of inane pundit chatter between the events at the velodrome.

    And the reason it was so simple is that the OP did all the right things:

    1. Provided self-contained code that ran straight out of the download.
    2. He provided clear instructions on how to run it to demonstrate the problem.
    3. He'd obviously cut it down considerably just for the purpose of posting.

    That, combined with the clear, simply-structured code, made it easy to comment out one or two lines here or there to isolate where in the code the problem lay. And that is the essence of debugging -- finding the bug. After that it is just reasoning.

    It is also where all the "let's hide the complexity behind yet another layer of abstraction" crowd fall flat on their faces. Their attempts to make things look simple, is their undoing when it comes to trying to track through that hidden complexity. Looks simple is not the same as is simple. And every layer of abstraction adds complexity, and removes none.

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      Thanks for the feedback and for your all your efforts!

      Most gratefully,
Re^2: Hunting for a memory leak
by snakebites (Initiate) on Aug 08, 2012 at 05:53 UTC
    Browseruk is the pope around here :D.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986121]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2018-04-26 12:19 GMT
Find Nodes?
    Voting Booth?