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

jena-jdbc-driver-tdb uses a lot of disk space on MSWindows.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Jena 2.12.0
    • None
    • Build
    • None

    Description

      http://mail-archives.apache.org/mod_mbox/jena-dev/201408.mbox/%3CCAPTxtVOp3aLTGG1Q4qNqnWcLWwvBRw0CRSozrPt_L687obwN1g%40mail.gmail.com%3E

      jena-tdb creates 11.6 GB of test files in "target/tdb-testing/". There are
      about 100 TDB databases created with most of them weighing in at 192 MB
      each.

      jena-jdbc-driver-tdb creates at least 45 GB of test files in %TEMP%
      (C:\Users\sallen\AppData\Local\Temp). There are at least 318 databases
      (192 MB each). I ran out of disk space at this point (I have a fairly
      small SSD in my laptop), and couldn't actually get it to finish.

      I would think that this is a combination of two issues:
      1. Sparse files are not used in Windows for the TDB databases (leading to
      the 192 MB databases)
      2. The JVM bug that does not allow unmapping of memory mapped files until
      the JVM exits means that the unit test databases cannot be deleted at the
      end of each test

      Attachments

        Activity

          People

            Unassigned Unassigned
            andy Andy Seaborne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: