Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Win32::Daemon memory leak

by Discipulus (Canon)
on Dec 23, 2015 at 08:53 UTC ( [id://1151010] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
                                                                #PID
           perl -E "for(1..240){system qq(tasklist /fi \"PID eq 17360\" /n
    +h);sleep 60}"
    ...
    
    
           #it leaked 31.8K every minute
    
  2. or download this
    perl -lanE "$res{$F[-2]}++;END{print map{qq($_ = $res{$_}\n)} sort {$a
    +<=>$b} keys %res}" c:\SCRIPTS\leakedmemory.log
     = 283 # blanks lines emitted by 'tasklist'
    ...
    16.260 = 6
    16.512 = 9
    16.768 = 5