Fwd: [greenstone-users] Out of Memory Error

From John Rowe
DateTue, 18 Oct 2005 15:02:55 +1300
Subject Fwd: [greenstone-users] Out of Memory Error
In-Reply-To (008301c5d384$beb899c0$6600a8c0-DHRWZP71)
it seems that the Greenstone import process is simply not built
to handle a metadata file that large. The easiest solution would be
to split your import directory (and metadata.xml file) up into
smaller directories under the main import directory. The filesystem
should end up looking something like the following:
import/
import/001/metadata.xml
import/001/file1
import/001/file2
import/001/.....
import/001/file9
import/002/metadata.xml
import/002/file10
import/002/file11
import/002/...
import/002/file19
import/003/metadata.xml
import/003/file20
import/001/file21
.............

Hope this helps.

Cheers,
John Rowe

DL Consulting
Greenstone Digital Library and Digitisation Specialists
contact@dlconsulting.co.nz
www.dlconsulting.co.nz


Begin forwarded message:

> From: "Nathan Einwechter" <nathan@inorb.com>
> Date: 18 October 2005 2:39:13 PM
> To: <greenstone-users@list.scms.waikato.ac.nz>
> Subject: [greenstone-users] Out of Memory Error
>
>
> Hey list;
>
> I've got a system here running GSDL with 2 GB RAM. I'm getting the
> following error during import;
>
> Out of memory during request for 4072 bytes, total sbrk() is 937850880
> bytes!
>
> The metadata.xml file is 310MB. Any idea why this is hogging up so
> much
> memory that I run out and how to prevent this from happening (short of
> adding more ram)?
>
> Thanks and take care.
>
> -- Nathan
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-
> users/attachments/20051017/fdc1939d/attachment.html
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20051018/38a8afae/attachment.html