James Fellows Yates
08/21/2025, 1:24 PMMaxime Garcia
08/21/2025, 1:26 PMJames Fellows Yates
08/21/2025, 1:30 PMEvangelos Karatzas
08/21/2025, 1:38 PMDaniel Lundin
08/21/2025, 3:54 PMfloor() to make sure I get an integer that is lower than the maximum after multiplying with a decimal value:
memory = "-Xmx${Math.round(Math.max(1, Math.floor(task.memory.toGiga() * 0.95)))}g"
(This is where ext.args.mem_multiplier would fit in, instead of the hardcoded 0.95.)Daniel Lundin
08/21/2025, 3:55 PMMath.round() -- don't remember what that's for.Matthias Zepper
08/21/2025, 3:56 PMBBMAP shakefistBut why? If we have an issue with setting the Java memory corretly the module, it is hardly BBMAPs fault - other than maybe that it is written in Java. tux sorry☕ But yes, I remember we had similar issues with the umicollapse module, so it could potentially be handled like there. The
bbnorm solution also looks good.James Fellows Yates
08/21/2025, 4:31 PMMaxime Garcia
08/21/2025, 4:47 PMMahesh Binzer-Panchal
08/22/2025, 6:57 AMMaxime Garcia
08/22/2025, 6:58 AMJames Fellows Yates
08/22/2025, 7:00 AMMahesh Binzer-Panchal
08/22/2025, 7:01 AMJames Fellows Yates
08/22/2025, 7:01 AMMahesh Binzer-Panchal
08/22/2025, 7:02 AMJames Fellows Yates
08/22/2025, 7:16 AMJames Fellows Yates
08/22/2025, 7:16 AMMatthias Zepper
08/25/2025, 12:28 PMJames Fellows Yates
08/25/2025, 12:49 PMJames Fellows Yates
08/25/2025, 12:50 PMMatthias Zepper
08/25/2025, 2:04 PM