This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Java error in BEAST2

Im trying to run BEAST 2.7.7 on Fedora 41 without beagle, but I get the following error

Starting frequencies: [0.25, 0.25, 0.25, 0.25]
TreeLikelihood(treeLikelihood.c1230) uses BeerLikelihoodCore4
  Alignment(c123): [taxa, patterns, sites] = [6751, 5722, 8797]
java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    at beast.pkgmgmt.launcher.BeastLauncher.run(Unknown Source)
    at beast.pkgmgmt.launcher.BeastLauncher.main(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
    at beast.base.evolution.likelihood.BeerLikelihoodCore.createNodePartials(Unknown Source)
    at beast.base.evolution.likelihood.TreeLikelihood.initCore(Unknown Source)
    at beast.base.evolution.likelihood.TreeLikelihood.initAndValidate(Unknown Source)
    at beast.base.core.BEASTInterface.initByName(Unknown Source)
    at beast.base.evolution.likelihood.ThreadedTreeLikelihood.initAndValidate(Unknown Source)
    at beast.base.parser.XMLParser.initBEASTObjects(Unknown Source)
    at beast.base.parser.XMLParser.parse(Unknown Source)
    at beast.base.parser.XMLParser.parseFile(Unknown Source)
    at beastfx.app.beast.BeastMCMC.parseArgs(Unknown Source)
    at beastfx.app.beast.BeastMain.main(Unknown Source)
    ... 6 more

I dont know any java and could not find any help online. How do I fix this issue?

beast2 java

1 answer

sed by: java.lang.OutOfMemoryError: Java heap space

increase the memory with -Xmx https://www.google.com/search?q=Xmx+java

Log in to answer this question.