360, #508 , #510 – Storing a map of functions within $model will eventualky cause a Java OOM error. This is likely due to a memory leak in eXist or Jetty.
To remedy this and improve processing times, we should store the function information for instance.xqm and each project.xqm in separate files that can be read quickly.
Calling load-xquery-module will then only be necessary when a function is actually needed.
This should avoid excessive memory usage and unnecessary module loads and improve response time, too.
360, #508 , #510 – Storing a map of functions within $model will eventualky cause a Java OOM error. This is likely due to a memory leak in eXist or Jetty.
To remedy this and improve processing times, we should store the function information for
instance.xqm
and eachproject.xqm
in separate files that can be read quickly. Callingload-xquery-module
will then only be necessary when a function is actually needed.This should avoid excessive memory usage and unnecessary module loads and improve response time, too.