I have fixec this problem, please try this patch:
If the genome is not in the shared memory, the job will load the genome.
If genome is in the shared memory, the job will attach itself to the loaded genome.
Other jobs with the same genome directory will be allowed to attach to it.
At the exit, the job will check whether any other jobs are attached to the genome. If so, the genome will be left in memory. If not, the genome will be removed from memory.
Note, that if a job with this option terminates prematurely, it will not be able to remove the genome from memory.
You will have to run another job with --genomeDir <...> --genomeLoad Remove options.
Please let me know if it works for you now.
Cheers
Alex
If the genome is in shared memory, the