'GraphDB Workbench API to monitor queries and updates?

Is there an API to check the size of the queue of pending SPARQL inserts?

I send many SPARQL updates to GraphDB to insert a couple thousand triples at a time. Often there is a long queue reaching 50+ update SPARQLs in the COMMIT_PENDING state with wait times up to 20 minutes. This also causes GraphDB to crash after a couple of hours. To prevent the queue from growing too large, I would like to be able to check the size and send update SPARQLs when the queue is empty.

I am running GraphDB Free 9.6.0 on an Virtual Machine with 8GB RAM (-Xms4g)

Thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source