Click here to get back home

CPAN shell says "Out of memory!"

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
CPAN shell says "Out of memory!" weston 12-30-2005
Posted by weston on December 30, 2005, 5:15 pm
Please log in for more thread options


I'm trying to use the CPAN shell to do installation of some modules on
a web hosting account. It is not, however, going quite as smoothly as I
hoped. The process goes something like this:

cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')

cpan> install AI::Prolog
CPAN: Storable loaded ok
Going to read /home3/weston/.cpan/Metadata
Going to read /home3/weston/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Going to read
/home3/weston/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Fri, 30 Dec 2005 16:08:44 GMT
CPAN: HTTP::Date loaded ok

There's a new CPAN.pm version (v1.80) available!
[Current version is v1.7601]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless
upgrade
while we are running...

Going to read /home3/weston/.cpan/sources/modules/03modlist.data.gz
Out of memory!
Terminal does not support GetHistory.
Lockfile removed.
Callback called exit.

and then I'm dumped back into bash.

I've checked the file 03modlist.data.gz ... even unzipped, it's under
400k. I can't imagine it eats up enough memory to cause trouble.
02packages.details.txt.gz is a bit bigger unzipped ... 2.7 MB...
01mailrc.txt is under 300 K ... is it really possible that (a) the CPAN
shell is trying to slurp all of this into memory simultaneously and (b)
it's getting slapped by some 3 MB limitation on memory?

Any other suggestions on what's going on here that come to mind?



Similar ThreadsPosted
Use CPAN or CPAN::Shell for LOCAL ONLY install from tarballs? May 9, 2008, 1:04 pm
Installing WWW::Mechanize from CPAN shell May 24, 2007, 4:56 pm
Stopping the cpan shell from fetching the modules list August 10, 2006, 3:45 am
Out of Memory error September 12, 2004, 11:51 pm
Shared memory for data structures September 8, 2004, 11:13 am
Leaking memory in Perl XS Module November 8, 2004, 10:40 am
Memory Leak in Math::Pari December 16, 2004, 6:21 am
Thread::Semaphore consumes memory January 7, 2005, 11:05 pm
threads, XSUB allocated memory, destructors, destruction September 30, 2005, 6:31 pm
DBD::Unify on AIX : error -59 unable to attach to shared memory. July 8, 2006, 11:24 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap