On Sun, 2022-02-06 at 06:31 +0000, Eliot Kimber wrote:
Liam,
Here’s what free -h tells me:
/data/basex/git/dita-build-tools/src/main$ free -h total used free shared buff/cache available Mem: 15G 1.4G 8.3G 529M 6.0G 13G Swap: 0B 0B 0B
I read that as there being no swap. But note that this is a virtual machine (from AWS as far as I know)—I don’t know if that makes a difference.
https://aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/... apply; i don't know for sure.
If I understand what cpuinfo is telling me, I have 4 CPUs, each with 4 cores, so should be able to service 16 threads, yes?
8 - two per core.
I have DTD parsing turned off (which is the default)
It's unrelated to XML catalog processing. If the system is not heavily loaded (as reported by a tool such as top) when processing a page that's slow, it may be waiting for network access. If it's heavily loaded, and the same query runs quickly for you, it might be that you need to check indexes are applied and up to date.
I did find prof:runtime() in the docs and verified that it has 4GB of RAM available.
OK, cool.