Re: [greenstone-users] Build fails on large document

From Stefan Boddie
DateTue, 2 Sep 2003 09:17:17 +1200
Subject Re: [greenstone-users] Build fails on large document
In-Reply-To (1062411723-1066-11-camel-sys033-bodley-ox-ac-uk)
Hi Richard,

Near the top of gsdl/perllib/mgbuilder.pm is the following line which sets
the maximum allowable document size to 12 Mb.

$maxdocsize = 12000;

If you change this to some suitably large value it should solve your
problem. I'm not sure exactly why this limitation is applied though I think
it might simply be to prevent MG from consuming too much memory. A modern PC
could no doubt cope with setting this value to something much larger though.

Stefan.

----- Original Message -----
From: "Richard Gartner" <rg@bodley.ox.ac.uk>
To: <greenstone-users@list.scms.waikato.ac.nz>
Sent: Monday, September 01, 2003 10:22 PM
Subject: [greenstone-users] Build fails on large document


> Hello everyone,
>
> I'm trying to build a collection of largish documents (about 65MB) full
> of OCR'd text: the build fails during the "creating index directory"
> phase with the error: "mg_passes : The document is in excess of 12288000
> chars long". Is there a system limit to document length, and if so is
> there any way to get around it?
>
> Thanks
> Richard
> --
> Richard Gartner <rg@bodley.ox.ac.uk>
>
>
>
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>