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

Memory leak detection

by runnerup (Novice)
on Sep 07, 2014 at 14:10 UTC ( [id://1099798]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ARENA COUNTS:
     475641 REF
    ...
        1 REF-Protocol::WebSocket::Handshake::Server
        1 REF-Protocol::WebSocket::Request
        1 REF-Protocol::WebSocket::Response
    
  2. or download this
    tie %clients, 'Tie::RefHash::Weak';
    tie %users, 'Tie::RefHash::Weak';
    ...
    tie %hs, 'Tie::RefHash::Weak';
    tie %frame, 'Tie::RefHash::Weak';
    tie %rooms, 'Tie::RefHash::Nestable';
    
  3. or download this
        print FILE '%clients: ' . scalar(keys %clients) . ' ' . total_size
    +(\%clients) . "\n";
        print FILE '%users: ' . scalar(keys %users) . ' ' . total_size(\%u
    +sers) . "\n";
    ...
        print FILE '%hs: ' . scalar(keys %hs) . ' ' . total_size(\%hs) . "
    +\n";
        print FILE '%frame: ' . scalar(keys %frame) . ' ' . total_size(\%f
    +rame) . "\n";
        print FILE '%rooms: ' . scalar(keys %rooms) . ' ' . total_size(\%r
    +ooms) . "\n";
    
  4. or download this
    %clients: 1035 2919225
    %users: 1038 2919225
    ...
    %hs: 1 2919225
    %frame: 1 2919225
    %rooms: 213 3292324
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found