Exception in thread "main" java.lang.OutOfMemoryError

I’m using megan version 6.24.2

Once “Meganizing init” begins I get the error:
Exception in thread “main” java.lang.OutOfMemoryError: Java heap space
at megan/megan.daa.DAAReferencesAnnotator.apply(DAAReferencesAnnotator.java:65)
at megan/megan.daa.Meganize.apply(Meganize.java:60)
at megan/megan.tools.DAAMeganizer.run(DAAMeganizer.java:255)
at megan/megan.tools.DAAMeganizer.main(DAAMeganizer.java:59)

I’ve tried increasing memory using:
daa-meganizer -Xmx115G
but it doesn’t recognise the option

I’ve also tried uncommenting the -Xmx option within the MEGAN.vmoptions file to -Xmx115G but this also doesn’t work.

The daa-meganizer program uses the file MEGAN.vmoptions to set the amount of memory that it can use. So, specify the amount of memory like this:


I will upload a new release in which all programs will always report which Java version they are using and with how much memory that are being run.