Limit cpu usage daa-meganizer

Hi, is there any way to limit the number of threads used by daa-meganizer (Megan tools)? Is using all the cpus and I don’t see any parameter to limit it.

We would like daa-meganizer to use more cpus! It seems to start with 2 cpus, and then settles down to 1 cpu. Our current problem is that when we run daa-meganizer on daa files larger than about 80Gb, it reaches
Binning reads Writing classification tables 10% 20% 30% 40% 50% 60% 70% 80% 90%
and gets no further, despite apparently active Java processes. Any suggestions gratefully received.

The main reason for this to happen is when daa-meganizer is run with too little memory. Edit the file MEGAN/megan.vmoptions to set the amount of memory that MEGAN (and all MEGAN tools) can use. It should be 16GB for daa-meganizer to run comfortably.

Yes, at present most of the work is done in a single thread because most of the work is to write indices to the end of the daa file.