jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guo Du <mrdu...@gmail.com>
Subject Re: Garbage Collection not deleting until restart of server
Date Thu, 12 Nov 2009 12:47:10 GMT
On Thu, Nov 12, 2009 at 10:50 AM, Euan Green <euangreen@gmail.com> wrote:
>>If you want to ensure all files are deleted, an option is to call
>>System.gc() a few times before running the data store garbage
> That's exactly what it was, just run some test and the files are being
> deleted now if System.gc is run before the GarbageCollection for the
> repository.
I would suggest move System.gc operation into GarbageCollector.

As when we call the deleteUnused(), we expect it should do the job.
Normal application code shouldn't aware of System.gc.


View raw message