Skip to main content.
home | support | download

Back to List Archive

Re: memory problem

From: Bill Moseley <moseley(at)>
Date: Thu Sep 11 2003 - 14:39:47 GMT
On Thu, Sep 11, 2003 at 12:21:30AM -0700, ??????????? ?????? wrote:
> I have some trouble.
> My index is grow and have 5 000 000 words in 1 500 000 files.
> I merge small indexes in main and when writes words data swish return err:
> Can't allocate 234242 byte!
> SWISH-E 2.4.0-pr1 run on FreeBSD whith 1Gb memory with -e option.
> Last good index have 1 019 731 707 byte.
> How many memory need for swish?

Are you merging indexes made with an older version of swish-e?

Does top or ps shows that it's using a lot of RAM or is that error 
happending too fast?  To trace, use gdb:

  gdb swish-e
  b progerr  # set a breakpoint at the "progerr" function"
  r -M index1 index2 outindex 
  bt  # get a back trace when it stop at progerr

Bill Moseley
Received on Thu Sep 11 14:40:21 2003