[Koha] re index_zebra.pl - out of memory

Brendan Gallagher gallabr at biblio.org
Sat Sep 6 08:24:06 NZST 2008


I had a similar problem and up'd/changed the last line to 4G and it  
went through fine.  The first time I ran it I too switched it to 100M  
and it didn't work.

-Brendan


+++++++++++++++++++++++++++++++++++++++++++
Brendan A. Gallagher
Software Services Coordinator
Bibliomation, INC.
Middlebury, CT 06762
(203)577-4070 x119
+++++++++++++++++++++++++++++++++++++++++++


On Sep 5, 2008, at 4:13 PM, David Schuster wrote:

>
> Well I upped register and shadow and changed the last line of this  
> file from
> 50 to 100, reran rebuild_zebra.pl -r -b -w - and it got to about  
> 34000 again
> and said - Out of memory and then died.
>
> oy!
>
> David Schuster
>
> I'm going to attempt the -k to see if that helps this round...   
> Shouldn't
> but doesn't hurt when you are stuck.
>
> Galen Charlton wrote:
>>
>> Hi,
>>
>> On Thu, Sep 4, 2008 at 12:10 PM, David Schuster <dschust1 at tx.rr.com>
>> wrote:
>>> 1 - OK so when I run the reindex_zebra.pl with -r -w -b (I think  
>>> those
>>> are
>>> the switches) I'm getting up to almost 34,000 records indexed and  
>>> then
>>> getting Out of memory!
>>>
>>> I've loaded - I believe - about 250,000 records.  Surely I can  
>>> reindex
>>> without loading it all into memory...??  What am I missing?
>>
>> You probably need to bump up the maximum size that Zebra allows for
>> its register and shadow.  These are set in zebra-biblios.cfg,  Look
>> for entries like this:
>>
>> register: /path/to/biblios/register:4G
>> shadow: /path/to/biblios/shadow:4G
>>
>> The "4G" indicates that the register's maximum size is 4 gigabytes.
>>
>>> 2 - what sql or? can I run to actually verify how many Biblio and  
>>> items I
>>> have loaded into Koha?
>>
>> select count(*) from biblio;
>> select count(*) from items;
>>
>> Regards,
>>
>> Galen
>> -- 
>> Galen Charlton
>> VP, Research & Development, LibLime
>> galen.charlton at liblime.com
>> p: 1-888-564-2457 x709
>> skype: gmcharlt
>> _______________________________________________
>> Koha mailing list
>> Koha at lists.katipo.co.nz
>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>
>>
>
> -- 
> View this message in context: http://www.nabble.com/reindex_zebra.pl---out-of-memory-tp19315345p19338637.html
> Sent from the Koha - Discuss mailing list archive at Nabble.com.
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha



More information about the Koha mailing list