Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

memory leaks with threads

by misc (Friar)
on Jul 09, 2007 at 14:44 UTC ( [id://625622]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
            $maxthreads = 0;
    
    }
    
  2. or download this
    micha@laptop ~/prog/perl/test $ ./threads_leak.pl
    maxthreads: 300  threadscreated: 300  VmSize:     177468 kB VmRSS:    
    +    125216 kB
    ...
    maxthreads: 300  threadscreated: 1500  VmSize:    370560 kB VmRSS:    
    +    249440 kB
    maxthreads: 300  threadscreated: 1800  VmSize:    724704 kB VmRSS:    
    +    250108 kB
    maxthreads: 300  threadscreated: 2100  VmSize:    410060 kB VmRSS:    
    +    372136 kB
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://625622]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-23 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found