jwinchell has asked for the wisdom of the Perl Monks concerning the following question:

This may be a bit of a silly question, but here it is nonetheless... I've been attempting to add some modules to my 5.6.1 distro (namely, the MySQL stuff). When running perl -MCPAN -e shell, and entering install Bundle::DBD, the shell proceeds to begin analyze the assorted index (*.txt.gz) files. It then kicks out the "Out of memory during request for ..." message, and dies. How the heck do I make this little problem go away?

Replies are listed 'Best First'.
Re: CPAN memory error
by caedes (Pilgrim) on Jun 26, 2002 at 23:46 UTC
    What exactly are the specs for this computer (df and memory)?
    if($memory < $enough){ $pricewatch->purchase('memory'); }
    Just a thought

    -caedes

      As temporary workaround increasing swap size may help.

      There are also exist a chance that you have enough RAM but you have set too strict memory limits for your account. Check it with shell command ulimit.

      --
      Ilya Martynov (http://martynov.org/)

Re: CPAN memory error
by samtregar (Abbot) on Jun 27, 2002 at 00:11 UTC
    Run less programs or tune the ones you are running to use less memory. You haven't provided any details about the machine - OS, installed RAM, processes running, top output, etc. - so that's about as specific as I can be!

    -sam