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

Comment on

Following is a sample code file name is
#! /usr/bin/perl use strict ; use warnings ; my $i=0 ; while (1) { print "Testing $i\n" ; $i++ ; sleep(1); }
I have compiled this code by using
perlcc -o compiled

Then I executed the normal code "" and compiled code "compiled". I seen the memory and cpu usage using the ps command

ps axo %cpu,%mem,command | grep "while\|compiled" 0.0 0.0 /usr/bin/perl ./ 0.0 0.1 ./compiled

why complied code taking more memory comparing with

How to avoid the memory usage of the compiled perl code?

In reply to why the perl complied code takes more memory? by arunstunner

and:  <code> code here </code>

  • Please read these before you post! —
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    As of 2014-03-15 04:15 GMT
    Find Nodes?
      Voting Booth?

      Have you used a cryptocurrency?

      Results (315 votes), past polls