Giter VIP home page Giter VIP logo

Comments (3)

rbouckaert avatar rbouckaert commented on August 9, 2024

Thanks for the bug report Julia.

It is a bit of a mystery what is happening here, since I have not been able to reproduce the problem with Windows 10 and v2.7.3: importing any alignment, then File/Save and type x produces the file x.xml. Perhaps it is something specific to the packages you have installed?

When you go to the Help/Messages menu, do you see any report of error messages there when saving (especially at the end of the list of messages)? Perhaps there is a clue there to what might be going wrong.

Remco

from beast2.

juliadupin avatar juliadupin commented on August 9, 2024

Hi Remco,

thank you for your reply. It's a java error actually

"Probing: starbeast3.addon.jar Exception in thread "JavaFX Application Thread" java.lang.OutOfMemoryError: Java heap space"

I've tried to follow what you suggested in a previous post by can't seem to get this to work:

java -Xmx8g -cp C:\ProgramFiles\BEAST.v2.7.3\lib\launcher.jar beast.pkgmgmt.launcher.BeautiLauncher

it returns a "java.lang.ClassNotFoundException: beastfx.app.beauti.Beauti" error

Any tips are much appreciated!
Thanks!

Julia

from beast2.

rbouckaert avatar rbouckaert commented on August 9, 2024

Hi Julia,

Probably the easiest way to increase memory (which is indeed what the error message indicates is necessary) is to edit the batch file in \path\to\BEAST\bat\BEAUti.bat, (where \path\to\BEAST is the path to where you have BEAST installed).

Line 7 says

    "%~dp0\..\jre\bin\java" -Dfile.encoding=UTF-8 -cp "%~dp0\..\lib\launcher.jar" beast.pkgmgmt.launcher.BeautiLauncher %*

and if you add -Xmx16g as argument to java, like so

    "%~dp0\..\jre\bin\java" -Xmx16g -Dfile.encoding=UTF-8 -cp "%~dp0\..\lib\launcher.jar" beast.pkgmgmt.launcher.BeautiLauncher %*

it should reserve 16GB of memory. To start BEAUti, run path\to\BEAST\bat\BEAUti.bat from the command prompt.

By default, 8GB is reserved for BEAUti when launched via the icon, so changing it to 16GB makes more sense than keeping it 8GB.

Hope this helps,

Remco

from beast2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.