Dear Daniel and all,
I am running 4 parallel annotations (GNU Parallel) and allocating 5 threads to each daa-meganizer instance. The memory settings in MEGAN.vmoptions are “-Xmx64000M”.
However, I am frequently observing that these settings seem to be ignored. For example, currently, each annotation uses around 100 Gb of physical memory and 3 out of 4 use >> 5 threads.
I also observed a similar behaviour running without GNU Parallel.
Example output of “ps auxww | grep DAA”:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
rmueller 640278 1068 19.4 138944608 102663440 pts/33 Sl 10:13 539:36 /home/rmueller/software/megan/jre/bin/java -server -Duser.language=en -Duser.region=US -Xmx64000M --module-path=/home/rmueller/software/megan/tools/…/jars:/home/rmueller/software/megan/tools/…/jars2 --add-modules=megan megan.tools.DAAMeganizer --verbose --threads 5 --in /data/rmueller/treedrought/mesocosm/30_diamond/131-2-10-2020.daa --mapDB /data/rmueller/treedrought/mesocosm/02_refs/megan-map-Feb2022.db
Which other settings can I tweak to rely on? Sorry if this has been asked before; I could not find it.
Thanks,
Ralf