Author: j16sdiz
Date: 2008-12-30 04:17:40 +0000 (Tue, 30 Dec 2008)
New Revision: 24840

Modified:
   trunk/plugins/XMLSpider/XMLSpider.java
Log:
gc() on make index

Modified: trunk/plugins/XMLSpider/XMLSpider.java
===================================================================
--- trunk/plugins/XMLSpider/XMLSpider.java      2008-12-30 03:50:36 UTC (rev 
24839)
+++ trunk/plugins/XMLSpider/XMLSpider.java      2008-12-30 04:17:40 UTC (rev 
24840)
@@ -284,6 +284,7 @@
                                        writingIndex = true;
                                }
                                
+                               db.gc();
                                indexWriter.makeIndex();
 
                                synchronized (this) {
@@ -648,7 +649,6 @@
        private Storage initDB() {
                Storage db = StorageFactory.getInstance().createStorage();
                db.setProperty("perst.object.cache.init.size", 8192);
-               db.setProperty("perst.gc.threshold", 16384);
                db.setProperty("perst.alternative.btree", true);
                db.setProperty("perst.string.encoding", "UTF-8");
                db.setProperty("perst.concurrent.iterator", true);

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to