Hello all,
I am a new user of BEAST so maybe (I hope) my problems are just due to my lack of practice with the tool.
I am trying to load some pretty big files (up to 2Go) in BEAUti in order to then use BEAST, but I am unable to load and/or save test files of more than 300Mo.
I am actually not even able to load files bigger than 120Mo, but I managed to work my way around it by loading several 100Mo files and then saving them together.
But once it gets bigger than 300Mo, the BEAUti window will freeze when I hit the "save" (or "save as") button, and the terminal window shows this:
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3332)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:472)
at java.lang.StringBuffer.append(StringBuffer.java:310)
at java.lang.StringBuffer.append(StringBuffer.java:97)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:486)
at java.lang.StringBuffer.append(StringBuffer.java:338)
at java.util.regex.Matcher.appendReplacement(Matcher.java:890)
at java.util.regex.Matcher.replaceAll(Matcher.java:955)
at java.lang.String.replaceAll(String.java:2223)
at beast.util.XMLProducer.toXML(Unknown Source)
at beast.app.beauti.BeautiDoc.toXML(Unknown Source)
at beast.app.beauti.BeautiDoc.validateModel(Unknown Source)
at beast.app.beauti.Beauti$ActionSave.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
I don't know how to interprete all of those messages, can someone please help me ?
I am on a shared Linux machine.
Thanks in advance for any help !
Adrien