Can you send a job to run MEGAN on a server?

Hi, I allowed MEGAN to use 40G as memory, and I am using it on a server. Nonetheless, I can not run it in the master of the server with the memory I gave it. There is a way to send it as a job? I mean so it can run with a given number of threads
Thank you

you will have to use the xvfb-run linux command to run MEGAN or some of the megan tools on a server.
In more detail, prepend the command that you want to run with

xvfb-run --auto-servernum --server-num=1

Then, submit this to the queuing system in the usual way.