Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^4: Out of Memory Error -- Possible Leak?

by emilper (Novice)
on Dec 15, 2005 at 14:55 UTC ( #516971=note: print w/replies, xml ) Need Help??

in reply to Re^3: Out of Memory Error -- Possible Leak?
in thread Out of Memory Error -- Possible Leak?

then how do you explain this ?


perl -e ' use Tk; while (1) { my $top = new MainWindow; }'

it will fill your RAM at a rate of about 1MB per second ...

  • Comment on Re^4: Out of Memory Error -- Possible Leak?

Replies are listed 'Best First'.
Re^5: Out of Memory Error -- Possible Leak?
by robin (Chaplain) on Dec 16, 2005 at 01:31 UTC
    If you're right about that, then it's a memory leak in the Tk module, which you should report to its maintainers. That shouldn't happen, and it's not caused by anything that Perl itself is doing.

    Seriously, I do know how Perl's garbage collection works. I'm not just pretending. :-)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://516971]
[Eily]: hello perlmonks :)
[Corion]: choroba: I think it's great that your kids (have to) perform in public - that makes you appreciate any kind of show much better IMO

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2017-12-12 09:04 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (327 votes). Check out past polls.