On 28/10/14 20:31, Stian Soiland-Reyes wrote:
Hi,

I am struggling to run "mvn install" on jena-tdb locally - as I seem
to only have 3.5 GB free disk space. During the tests, this runs down
towards 0.

This is on Linux Mint 17 x64 with ecryptfs encrypted home directory.

TDB databases when created are sparse files ... space is allocated but not used. I would not be surprised if ecryptfs blocked that possibility.

Create a database ("tdbquery --loc DBX 'ASK{}') and run "du -sh" on the directory. It is about 150-200K but ~192M if not OS sparse files.

On Linux, databases are deleted and recreated. Again, ecryptfs may interfere with that, delaying the file recycling into the OS as it clears up - I don't use it so I am just speculating here.

Is the space cleaned out after the test suite runs successfully?

This seems to be eaten up while running TestTransactionTDB. Is it
keeping lots of mmap-ed temporary files open?

They should not be open. On linux they should be deleted and released to the OS.

Is there a way to reduce this disk space requirement (which sounds
more like an integration test to me) - or should I simply start
tidying my /home ? :)

Its the tests of the transaction mechanism on disk. If you are not working in that area, you could skip that test file.

(it will also run the tests on an in-memory dataset so you are completely running testless).

And tidy /home anyway! Do I sense some guilt here? :-)

        Andy





See also : JENA-755

Reply via email to