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

Unable to start yEd

0 votes
I am getting this error message:java.lang.OutOfMemoryError: Java heap space
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:835)
 at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
 at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
 at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:237)
 at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:300)
 at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121)
 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.Q.ā(Unknown Source)
 at B.A.A.P.K.ā(Unknown Source)
 at B.A.A.P.K.ā(Unknown Source)
 at B.A.A.P.o$B.Ă(Unknown Source)
 at B.A.A.P.o.ā(Unknown Source)
 at B.A.A.N.ā(Unknown Source)
 at B.A.A.F.ą(Unknown Source)
 at B.A.A.F.Ă(Unknown Source)
 at B.A.A.F.ā(Unknown Source)
 at B.A.A.B.ā(Unknown Source)
 at B.A.A.B.main(Unknown Source)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
 at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
 at com.exe4j.runtime.WinLauncher.main(Unknown Source)
 at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)
I have added the 756m line but this hasnt helped, ive then uninstalled and reinstalled but it still wont open.
in Help by

2 Answers

0 votes

I assume you have one or more user-defined palette sections with very large or many, many image templates.

To solve your problem, either assign even more memory to yEd or delete your yEd profile directory. This latter approach will reset yEd to its factory defaults (and delete all your custom settings.) Re-install does not help, because it does not delete the yEd profile directory.

by [yWorks] (161k points)
I am still getting this error message:   
java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOfRange(Arrays.java:2694)
    at java.lang.String.<init>(String.java:203)
    at java.lang.StringBuilder.toString(StringBuilder.java:405)
    at com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl.getNodeValueString(DeferredDocumentImpl.java:1184)
    at com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl.getNodeValueString(DeferredDocumentImpl.java:1134)
    at com.sun.org.apache.xerces.internal.dom.DeferredTextImpl.synchronizeData(DeferredTextImpl.java:96)
    at com.sun.org.apache.xerces.internal.dom.CharacterDataImpl.getNodeValue(CharacterDataImpl.java:91)
    at com.sun.org.apache.xerces.internal.dom.ElementImpl.normalize(ElementImpl.java:362)
    at com.sun.org.apache.xerces.internal.dom.ElementImpl.normalize(ElementImpl.java:370)
    at com.sun.org.apache.xerces.internal.dom.ElementImpl.normalize(ElementImpl.java:370)
    at com.sun.org.apache.xerces.internal.dom.ElementImpl.normalize(ElementImpl.java:370)
    at com.sun.org.apache.xerces.internal.dom.ParentNode.normalize(ParentNode.java:855)
    at y.H.B.B._.ā(Unknown Source)
    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.Q.ā(Unknown Source)
    at B.A.A.P.K.ā(Unknown Source)
    at B.A.A.P.K.ā(Unknown Source)
    at B.A.A.P.o$B.Ă(Unknown Source)
    at B.A.A.P.o.ā(Unknown Source)
    at B.A.A.N.ā(Unknown Source)
    at B.A.A.F.ą(Unknown Source)
    at B.A.A.F.Ă(Unknown Source)
    at B.A.A.F.ā(Unknown Source)
    at B.A.A.B.ā(Unknown Source)
    at B.A.A.B.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)

I have deleted the yed profile directory which contained the images and removed my saves to my google drive.

Any ideas what else to do?
0 votes
As of yEd 3.11.1, OutOfMemoryErrors while loading palette sections no longer crash yEd. Instead, yEd will ignore the elements in the problematic palette section.
by [yWorks] (161k points)
Legal Disclosure | Privacy Policy
...