Re: Disk space requirement for building on Windows

2015-03-10 Thread Stian Soiland-Reyes
The System.gc() is not guaranteed to work - but it did work for me. That is what I meant by a 'best effort' within the test. The test does not require all those old test folders to hang around. Could we do a workaround for the test to set say a tinier block-size instead of 8 MB? As I have been u

Re: Disk space requirement for building on Windows

2015-03-10 Thread Rob Vesse
Using an alternative approach would not make any difference It is a fundamental bug in Windows memory mapped files that means that a JVM can never guarantee to completely release memory mapped files while the JVM is alive. Andy has posted this many times on threads about TDB on Windows in the pas

Disk space requirement for building on Windows (was: Re: [jira] [Commented] (JENA-897) jena-jdbc-tdb tests use %TEMP% instead of target/)

2015-03-10 Thread Stian Soiland-Reyes
Thanks, Rob! I tried looking yesterday at ways to reduce the disk space requirements when building on Windows - including truncating the files after closing. This seems to require deep changes into TDBs ChannelManager which keeps the corresponding FileChannels - perhaps a new method for that purp