[
https://issues.apache.org/jira/browse/JENA-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15364370#comment-15364370
]
A. Soroka commented on JENA-1189:
---------------------------------
After much investigation, I haven't been able to nail this for sure. I have put
in all kinds of checks to see that filesystem resources are released between
tests, but they still seem to be building up. This leads me to a different
question: is it possible to use the TDB in-memory dataset for these tests? It
seems to me to be a reasonable thing to do-- testing is just what that dataset
is for, and what's being tested here is not anything to do with TDB's
implementation. It would also speed the build up a jot. [~andy.seaborne], does
that sound reasonable to you for now?
> Resolve problems with jena-jdbc-driver-tdb tests on Macs
> --------------------------------------------------------
>
> Key: JENA-1189
> URL: https://issues.apache.org/jira/browse/JENA-1189
> Project: Apache Jena
> Issue Type: Bug
> Components: JDBC
> Affects Versions: Jena 3.1.0
> Reporter: A. Soroka
> Assignee: A. Soroka
> Priority: Minor
> Labels: jdbc
>
> Two tests in jena-jdbc-driver-tdb (TestTdbDiskResultSets and
> TestTdbDiskConnection) create a lot of temporary data while running, in the
> form of on-disk TDB datasets. If those datasets don't get deleted promptly as
> they are not longer needed, they can fill up the disk and blow out the build.
> This seems to be happening both on Windows and Mac boxes. In the Windows
> case, there is a known problem with Java being unable to release files once
> they have been memory-mapped. But for Macs, it should be possible to smarten
> up the test framework a bit to ensure that filesystem resources are getting
> released promptly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)