Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-898

Building w/tests on Windows requires a lot of disk space

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Jena 2.12.1, Jena 2.13.0
    • None
    • TDB
    • None
    • Windows

    Description

      mvn clean install

      on Windows, in particular of jena-tdb and jena-jdbc-driver-tdb requires a lot of disk space (> 40 GB) as temporary TDB datasets are created per test due to the memory mapped files on Windows not being released (JENA-775, JENA-115)

      JENA-897 ensures those files are in target/ when running through Maven, so at least they are removed on mvn clean.

      It might be possible to release the ByteBuffers that lock the memory regions using System.gc() (which might not help anyway) - but this adds significant overhead (~ 1s on my machine) – perhaps this could be done pr 10 tests in a @After if on Windows, as a kind of best-effort clean-up?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              soilandreyes Stian Soiland-Reyes (old) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: