Skip to content

Commit

Permalink
Merge pull request #80 from Fedict/issues/#1271-client-cpu
Browse files Browse the repository at this point in the history
Added documentation on jdk bug
  • Loading branch information
barthanssens authored Feb 10, 2019
2 parents 99db3a3 + ab4f03f commit 6ecbe00
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/programming/03-repository-api.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,13 @@ Repository repo = new HTTPRepository(rdf4jServer, repositoryID);
repo.initialize();
----

Note: some OpenJDK 8 JVMs have a
[ScheduledThreadPoolExecutor bug](https://bugs.openjdk.java.net/browse/JDK-8129861),
causing high processor load even when idling.

Setting the property `-Dorg.eclipse.rdf4j.client.executors.jdkbug`
will use 1 core thread (instead of 0) for clients to remediate this.

=== Accessing a SPARQL endpoint

We can use the Repository interface to access any SPARQL endpoint as well. This is done as follows:
Expand Down

0 comments on commit 6ecbe00

Please sign in to comment.