Help for this page

Select Code to Download


  1. or download this
    Memory leak test. Ctrl-C to stop.
    
    20 threads (17831 lifetime),   845.99 MiB RSS [================ ] / ^C
    
  2. or download this
    use warnings;
    use strict;
    use threads;
    ...
        threads->create(\&highmem) if (threads->list() < $NUM);
        print_mem();
    } while(sleep(0.1));