Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

Why since i installed the latest version cannot open the old file

0 votes

And fearther on i have 

B.A.A.c: Could not import file

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

Caused by: java.io.IOException

 
in Help by

2 Answers

0 votes

If possible, please send the complete error message from yEd's error dialog since this gives us a lot of related information.

Out-of-memory problems in general are disucssed here.

Maybe there are many or large images in your diagram?

by [yWorks] (26.8k points)
0 votes

This is the message if i change the key VMOptions for -Xmx768m in the yed.app directory. 

B.A.A.c: Could not import file SAFEST FILE MAIM MAP OF ELEUSIS.graphml.

at B.A.A.J.A.ā(Unknown Source)
at B.A.A.J.A.Ă(Unknown Source)
at B.A.A.K.g.ā(Unknown Source)
at B.A.A.K.i.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
... 63 more
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Arrays.java:3209)
at java.lang.String.<init>(String.java:215)
at com.sun.org.apache.xerces.internal.xni.XMLString.toString(XMLString.java:185)
at com.sun.org.apache.xerces.internal.parsers.AbstractDOMParser.characters(AbstractDOMParser.java:1188)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:464)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
at y.H.B.B._.ā(Unknown Source)
at y.H.B.A$13.ā(Unknown Source)
at y.H.B.A.ā(Unknown Source)
at y.H.B.A.ā(Unknown Source)
at y.H.S.ā(Unknown Source)
at B.A.A.B.G.A.E.ā(Unknown Source)
at B.A.A.B.G.A.E.ā(Unknown Source)
at B.A.A.B.G.A.C.ā(Unknown Source)
at y.H.I.ā(Unknown Source)
at y.B.A.M.ď(Unknown Source)
at y.B.J.Č(Unknown Source)
at y.B.J.ā(Unknown Source)
at y.B.J.ă(Unknown Source)
at B.A.A.B.P.Ă(Unknown Source)
at B.A.A.B.P.ā(Unknown Source)
at B.A.A.J.A.ā(Unknown Source)
at B.A.A.J.A.Ă(Unknown Source)
at B.A.A.K.g.ā(Unknown Source)
at B.A.A.K.i.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
 
by
edited by
OK, please try a higher value like -Xmx1500m if your system has enough memory.
Perfect !! it works !
Thank very much !!!!
Glad to hear that it works.
To avoid memory issues in the future, please keep in mind that yEd does not scale your images down. If a large image is used as a small icon in your diagram, it still has internally the original size. Therefore, I recommend to import images in a size that approximately matches their intended use or to use vector graphics like SVG.
Legal Disclosure | Privacy Policy
...