Re: [basex-talk] RESTXQ - java.lang.OutOfMemoryError: Java heap space

2020-06-02 Thread Christian Grün
Hm… Yes, maybe the number of inserts is simply too large for single insert operations. Did you count how many new cases will be created? > into doc("US") Are you inserting into a document or a database? In the latter case, you could replace the function call with db:open. The db:copynode option

Re: [basex-talk] RESTXQ - java.lang.OutOfMemoryError: Java heap space

2020-05-29 Thread Sebastian Guerrero
Hi Christian, Thank you for your reply, you always help me. *- Can you share the query with us?*. Yes, of course. The query is pretty much the same that I've sent to Fabrice: *(# db:copynode false #) {* * for $case in

Re: [basex-talk] RESTXQ - java.lang.OutOfMemoryError: Java heap space

2020-05-29 Thread Christian Grün
Hi Sebastian, In general, artifacts of updating queries should be cleaned up after the execution. The stack trace indicates that a very large main-memory database instance was created by one of your queries that exceeded the memory limits. Can you share the query with us? As XQuery is more

Re: [basex-talk] RESTXQ - java.lang.OutOfMemoryError: Java heap space

2020-05-29 Thread ETANCHAUD Fabrice
01 UTC. The granularity of the value depends on the underlying operating system and may be larger. docs.basex.org De : BaseX-Talk de la part de Sebastian Guerrero Envoyé : jeudi 28 mai 2020 20:39 À : BaseX Objet : [basex-talk] RESTXQ - java.lang.OutOfMemoryError: Jav

[basex-talk] RESTXQ - java.lang.OutOfMemoryError: Java heap space

2020-05-28 Thread Sebastian Guerrero
Hi BaseX team! A quick question. Is there some known bug/common setting missing for RESTXQ and memory problems? I have this simple module ( into /webapp, a .xqm file ) : *module namespace exe = 'http://site.com/execute ';* *declare * *%updating* *