Exactly; it’s called Client API in the documentation:

https://docs.basex.org/wiki/Java_Examples

Srikumar Choudhury <schoudhu@opentext.com> schrieb am Fr., 28. Aug. 2020, 07:33:
Hi Christian,
                     Are you talking about BasexClient as mentioned in below link? is this BaseX API?

https://github.com/BaseXdb/basex/blob/master/basex-examples/src/main/java/org/basex/examples/api/BaseXClient.java
Thanks,
Srikumar

From: Christian Grün <christian.gruen@gmail.com>
Sent: Thursday, August 27, 2020 7:57 PM
To: Srikumar Choudhury <schoudhu@opentext.com>
Cc: BaseX <basex-talk@mailman.uni-konstanz.de>; Rajiv Pandya <rpandya@opentext.com>; Sharath Babu Pulumati <spulumat@opentext.com>
Subject: Re: [EXTERNAL] - Re: XQExpression-8.executeQuery() API throws java.lang.NullPointerException exception while executing XQuery(retrieving the 171 MB xml document) like db:open('testenvSSL1', '6300000180000114/0600000180002931.xml')
 
…and our own API will definitely consume less memory. Did you try it as well?



On Thu, Aug 27, 2020 at 2:55 PM Christian Grün
<christian.gruen@gmail.com> wrote:
>
> > do I need to increase -Xmx4096m to higher?
>
> +1