Hi,

I am running garbage collection but it seems the files in the repository are
only removed after I restart my application server (Tomcat). I think there
may be a problem with removing items from the repository due to locking or
threading but I'm not sure. Can anyone shed any light on this?

I'm using this code for Garbage Collection:

SessionImpl si = (SessionImpl)session;
GarbageCollector gc = si.createDataStoreGarbageCollector();
gc.scan();
gc.stopScan();
gc.deleteUnused();
gc.close();

Regards,

Euan
-- 
View this message in context: 
http://n4.nabble.com/Garbage-Collection-not-deleting-until-restart-of-server-tp620143p620143.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to