On Thu, Nov 12, 2009 at 10:50 AM, Euan Green <[email protected]> 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
>>collection.
>
> 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.

--Guo

Reply via email to