If you are getting OutOfMemoryError did you try starting your process with a 
larger setting for -Xmx? You may need to allocate several gigabytes of RAM to 
rebuild all the indexes.

Sent from my iPad

On Dec 31, 2011, at 6:08 AM, Mazhar_04 <[email protected]> wrote:

> Hi All,
> 
> Firstly, Thank you for everyone whom have contributed to Jackrabbit, its a
> truly wonderful API.
> 
> been using Jackrabbit 2.2.x and recently the indexes got corrupt due to some
> system failure,
> 
> I thought it would be easy enough to reindex so as per instructions I
> deleted the index folder in the workspaces/default folder, unfortunately
> this is the 4th attempt as the indexes keep failing to rebuild.
> 
> I dont have a particularly large repository, its around 1.6TB, but he files
> stored are big files. and of all sorts of the types, like multimedia, word
> and man other types.
> 
> I see the indexes reach a size of around 3.9GB and then it fails I have
> assigned java heap 3GB to tomcat Server as it is a 64bit system and I have
> around total 6GB.
> 
> The other strange issue is that once it does fail and I restart the tomcat
> it starts to rebuild the indexes from scratch again rather than from the
> point it failed.
> 
> I can see a lot of Out of java heap space errors through out the
> catalina.out file. the last message read 
> 
> Index.Merger.java 570: Error While Merging indexes
> Java.lang.OutOfMemoryError : Java Heap Space
> 
> Can someone please help and guie me how I can get the indexes rebuilt.
> 
> I have explicitly set the mergeFactor = 10
> 
> Many Thanks
> 
> Mazhar
> 
> 
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://jackrabbit.510166.n4.nabble.com/Reindex-failing-to-complete-tp4248184p4248184.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to