Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^4: Perl Program - Out of memory?

by jdlev (Scribe)
on Nov 15, 2013 at 20:58 UTC ( #1062796=note: print w/replies, xml ) Need Help??

in reply to Re^3: Perl Program - Out of memory?
in thread Perl Program - Out of memory?

Tried setting the delay to 0 and no dice. It just get's to the "Out of Memory!" error much faster (which will help in tracking down the issue). Is there a way to track down memory leaks in perl?
I love it when a program comes together - jdhannibal

Replies are listed 'Best First'.
Re^5: Perl Program - Out of memory?
by BrowserUk (Pope) on Nov 16, 2013 at 15:12 UTC
    Is there a way to track down memory leaks in perl?

    Your code isn't leaking memory. It is just using more than it has available.

    At least, that is what I strongly suspect, but given that you've stopped answering questions, there's no way to derive a definitive conclusion.

    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.
Re^5: Perl Program - Out of memory?
by taint (Chaplain) on Nov 15, 2013 at 21:13 UTC
    Hmm... "Out of memory faster". Why not try the other direction; bump up the sleep time, a bit, and see what that does.


    #!/usr/bin/perl -Tw
    use Perl::Always or die;
    my $perl_version = (5.12.5);
    print $perl_version;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1062796]
[Discipulus]: good morning Corion and all monks!!
[Discipulus]: the whole weekend was dedicated to a marionette representation done for all the children of our family / clan and thei friend. 2+ hours divided in three acts + snack time

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2017-03-27 07:19 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (316 votes). Check out past polls.