We are using Ubuntu. On Thu, 7 Sept 2023 at 16:33, Andy Seaborne <[email protected]> wrote:
> Are the database files on a MS Windows filesystem? > > There is a long-standing Java issue that memory mapped files on MS > Windows do not get freed until the JVM exists. > > Various bugs in the OpenJDK bug database such as: > > https://bugs.openjdk.org/browse/JDK-4715154 > > Andy > > On 07/09/2023 13:06, Mikael Pesonen wrote: > > > > We used deleteOld param. The 50 gigs are ghost files that are deleted > > but not released, that's what I meant by hanging on deleted files. > > Restarting jena releases them and now for example freed 50 gigs of space. > > > > On 07/09/2023 15.02, Øyvind Gjesdal wrote: > >> What does the content of the tdb2 folder look like? > >> > >> I think compact by default never deletes the old data, but you have > >> parameters for making it delete the old content on completion. > >> > >> `--deleteOld` can be supplied to the tdb2.tdbcompact command line tool > >> and > >> `?deleteOld=true` can be supplied to the administration api when calling > >> compact > >> > https://jena.apache.org/documentation/fuseki2/fuseki-server-protocol.html#compact > >> > >> You can also delete the Data-NNNN that isn't the latest one in the > >> database folder. > >> > >> Best regards, > >> Øyvind > >> > >> On Thu, Sep 7, 2023 at 1:33 PM Mikael Pesonen > >> <[email protected]> > >> wrote: > >> > >>> After a while 25 gigs of files on data folder becomes 80 gigs of disk > >>> usage because Jena (4.6.1) doen't release files. Same with compact. Is > >>> this fixed in newer versions? > >>> > > >
