Skip to main content.
home | support | download

Back to List Archive

Re: [SWISH-E:137] Re: size of database

From: Nick Phillips <nwp(at)not-real.galleryonline.com>
Date: Tue Feb 03 1998 - 13:04:00 GMT
Craig A Summerhill wrote:
> On Tue, 3 Feb 1998, Jean-Louis Maltret <jlm@eiffel.univ-mrs.fr> wrote:

> I'm afraid that swish-e would choke the machine (for RAM) if I tried to
> index it all at once.  I'm finding it to be a real memory hog...

One thing you might look at is reducing the size of MAXSTRLEN in swish.h
-- there are loads of strings stored while swish is indexing, most of
which are well below the default size of MAXSTRLEN (1000). Try setting
it to a couple of hundred, and that should significantly reduce memory
usage, even if it still remains a hog.

Anyone for Perl?
--
Nick Phillips (nwp@galleryonline.com)
Received on Tue Feb 3 05:06:31 1998