BEAST - JAVA error or not?

128 views
Skip to first unread message

Garima

unread,
Dec 2, 2021, 12:30:53 PM12/2/21
to beast-users
Hi,

I have been trying to run BEAST 2.6.6 for 100 +million generations (data contains 23 taxa (including 1 outgroup) for a length of 24.8 kb DNA sequence, on computer with 8 GB RAM and 3.4 Hz processor. I haven't had success so far owing to the following error:

   10710000    -40633.9022        27.8       -40552.5612       -81.3410 37m5s/Msamples
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at beast.app.beastapp.BeastLauncher.run(Unknown Source)
at beast.app.beastapp.BeastLauncher.main(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Java heap space
at multitypetree.operators.UniformizationRetypeOperator.retypeBranch(Unknown Source)
at multitypetree.operators.TypedWilsonBalding.retypeRootBranches(Unknown Source)
at multitypetree.operators.TypedWilsonBalding.proposal(Unknown Source)
at beast.core.Operator.proposal(Unknown Source)
at beast.core.MCMC.propagateState(Unknown Source)
at beast.core.MCMC.doLoop(Unknown Source)
at beast.core.MCMC.run(Unknown Source)
at beast.app.BeastMCMC.run(Unknown Source)
at beast.app.beastapp.BeastMain.<init>(Unknown Source)
at beast.app.beastapp.BeastMain.main(Unknown Source)
... 6 more

It keeps happening. I have tried to run it on a Linux based system with 64 GB RAM and 1 TB space too. But my efforts were to no avail. Can anybody help me?

Remco Bouckaert

unread,
Dec 2, 2021, 12:55:53 PM12/2/21
to beast...@googlegroups.com
Indeed, it looks like java ran out of memory. To increase available memory, see here: http://www.beast2.org/increasing-memory-usage/

--
You received this message because you are subscribed to the Google Groups "beast-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beast-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beast-users/299cc963-1964-4644-a1ad-06aa2131ded8n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages