Re: Memory issues



"Peter J. Holzer" <hjp-usenet2@xxxxxx> writes:

Or maybe it is optimized for one-off scripts? One-off scripts rarely
need to worry about hogging memory and it is certainly faster to let the
OS free all the memory at once than to call free a gazillion times.

True enough. In any case, as others mentioned, the perl interpreter is
pretty wasteful with memory in most cases where it could trade off
between speed and memory efficiency.

--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/
.



Relevant Pages

  • Re: concurrency, threads and objects
    ... I don't subscribe to the idea that you should not worry about resources (cpu, memory etc.), because its so cheap. ... The smaller program requires less bus bandwidth between the cpu, memory and disk and less processing cycles. ... I have numerous times created applications that require a fraction of memory or cpu power compared to a someone's idea that you should not worry about it. ... In some cases I have also created working and stable solutions when others have not managed to get one off the ground, because of code bloat. ...
    (comp.lang.java.programmer)
  • Re: Computer advice please?
    ... Don't worry about speed they are ... about 4x the battery life - which I head you ask for. ... Don't worry about video memory unless you are gaming. ...
    (alt.gathering.rainbow)
  • Re: Structure of large link libraries in f95
    ... Won't memory use and build time be about the same? ... it would save some disk space. ... Again, don't worry ... worry about large statically-sized data arrays - which are typically set ...
    (comp.lang.fortran)
  • [Full-Disclosure] ALERT ALERT plaintext passwords in linux ALERT ALERT
    ... > Don't worry, it does not actually occupy your computer's resources, except some memory. ... sometimes a kernel rootkit will hijack the stat syscall.. ...
    (Full-Disclosure)
  • Re: passing a string to a C++ function
    ... things are "unsafe". ... Other languages - eg FORTRAN - were designed to ... protect you completely from having to worry about memory. ...
    (microsoft.public.vc.language)