[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Omaha.pm] Re: [olug] perl cpan problem



Whew, finally got a few free minutes to reply to this.


Jay Hannah wrote:


On Sep 22, 2004, at 1:11 PM, <thelarsons3@cox.net> wrote:

I was trying to install XML and RSS modules from CPAN. This didn't work correctly, but the procedure suggested upgrading CPAN and installing the libnet bundle. OK, fine. When these didn't work either because of an "out of memory" error, I started looking closer by running top.


What were you running when you got the error?

perl -MCPAN -e ... ?


perl -MCPAN -e "install XML::Parser"
perl -MCPAN -e "install Bundle::CPAN"
perl -MCPAN -e "install Bundle::libnet"
perl -MCPAN -e "install Net::FTP"
perl -MCPAN -e "install HTTP::Date"

While the process is running, it slowly uses more and more RAM until all physical memory (80 MB) on the system is exhausted, then it dies. I have 192 MB of swap that is barely touched - about 8 MB in use when Perl starts, still the same when it dies.


While what process is running? Can you give us the exact command(s) you're having problems with?


The Perl process. The commands are above. It's like Perl is just sucking all the RAM out of my box.

Tim

--
Tim & Alethea
www.ChristTrek.org