Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: RAM Question

by Ryszard (Priest)
on May 20, 2004 at 14:46 UTC ( #354963=note: print w/ replies, xml ) Need Help??


in reply to RAM Question

I'm not quite sure what you _really_ mean here, but the answer to both your questions is yes.

Perl itself runs in ram, and each bit of extra program you write consumes a little bit of RAM.

If you declare something, perl will allocate some space for it. You can reduce the RAM used by your vars by undef'ing them when they're not needed, but if the variable exists, then there will be a little bit of ram used.

Perhaps i'm misunderstanding the question, or perhaps someone else can explain it a better than i.


Comment on Re: RAM Question

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://354963]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2014-09-20 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (163 votes), past polls