Skip to main content.
home | support | download

Back to List Archive

Re: memory problems

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Sat Mar 19 2005 - 01:09:09 GMT
On Fri, Mar 18, 2005 at 04:03:25PM -0800, Thomas Angst wrote:
> ---------------------------------------------
> #!/bin/sh
> typeset -i nr=0
> while [ $nr -le 100000 ] ; do
>   # only a long path to fill the memory, but no content
>   echo "Path-Name: 
> file://///server/path/spartux/src/spartux/debian/deb/dev/fd/4/spartux/src/spartux/debian/deb/dev/fd/4/spartux/src/spartux/debian/deb/dev/fd/4/spartux/src/spartux/debian/deb/dev/fd/4/spartux/src/spartux/debian/deb/dev/fd/4/spartux/src/spartux/debian/deb/dev/cciss/c1d13p3"
>   echo "Content-Length: 0"
>   echo "Document-Type: TXT"

   echo "Document-Type: TXT*"

Use TXT* -- the bug is in the old (TXT) parser.  I'll fix that but you
should be using the new TXT* (TXT2) parser.  I think it's about time
to pull the old parsers out and require libxml2.  The old parsers are
faster, but at the expense of accuracy.

Swish will abort if you actually index all zero length files since no
works are ever indexed.

    err: No unique words indexed!

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Fri Mar 18 17:09:10 2005