You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Anu Madan <AM...@TechMahindra.com> on 2013/03/19 08:43:18 UTC

Jackrabbit file deletion doesnot free disk space.

Hi,

We are using Jackrabbit with Derby database as file system.
We are deleting nodes using the jcr api and the nodes are deleted successfully. Since we get an ItemNotFoundException when we fetch them thereafter.

But if we check the disk space, it still shows the same amount of space occupied.
We are facing space issues on our server and are trying to delete old files to overcome the issue.

Please advice on the way, the space can be recovered on file deletion from jackrabbit.
Also, please share how the deletion mechanism works, for knowledge purposes.

Thanks.

Regards,
Anu Madan | Team Lead
Email: anu.madan@techmahindra.com<ma...@techmahindra.com>


============================================================================================================================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/tim/disclaimer.html">http://tim.techmahindra.com/tim/disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================

Re: Jackrabbit file deletion doesnot free disk space.

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Tue, Mar 19, 2013 at 9:43 AM, Anu Madan <AM...@techmahindra.com> wrote:
> Please advice on the way, the space can be recovered on file deletion from jackrabbit.
> Also, please share how the deletion mechanism works, for knowledge purposes.

I assume you're using Jackrabbit with the Data Store feature. See [1]
for instructions on how to use the garbage collection process to
reclaim unused space.

[1] http://wiki.apache.org/jackrabbit/DataStore#Data_Store_Garbage_Collection

BR,

Jukka Zitting