NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Because it is (Score:1)
Yes, that's how it does some of the query commands it implements. It has been so for a long time now. And yes, under-powered computers may have problems with that. (But it can be worse - CPANPLUS is much heavier or at least was, a long time ago when I tried it.)
CPAN.pm has an experimental support for the module database in a SQLite db, as implemented by CPAN::SQLite. It decreases the memory consumption. You can try that.
Re: (Score:1)
Re: CPANPLUS
It's been also quite a long time since I've looked at how much RAM CPANPLUS takes, but the last time I did, it was raking an impressive 500M. Which, of course, makes it almost impossible to use interactively on the 512M of RAM of my poor machine.
Re: (Score:1)
CPANPLUS uses far less on my machine, but YMMV; for those strapped for ram, there's the option to use an SQLite backend.
To enable it, simply follow the following steps from the default shell:
### set SQLite as the backend
CPAN Terminal> s conf source_engine CPANPLUS::Internals::Source::SQLite
### update any dependencies (will install sqlite drivers if you need them)
CPAN Terminal> s selfupdate dependencies
### save configuration
CPAN Terminal> s save
What Strawberry does (Score:1)
Strawberry comes bundled with CPAN::SQLite on by default, which is why it uses less memory.
This still has problems though, because the process that fills up the SQLite database loads the entire database into memory ANYWAY, instead of processing streamwise.
Re: (Score:2)
Small Device Issue (Score:1)
I ran into this as a problem when using CPAN on my openmoko (Debian), which has only 128mb of ram. It only seemed to be a problem the first time I ran cpan, after that it seems better.
But for that first time I had to shut down everything (X-Windows, phone services, etc) to get it working.