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

Error: Could not import file (Causes by: java.lang.OutOfMemoryError: Java heap space)

0 votes
Hi,
 
When trying to open my file (it's about 40 MB in size)
I'm getting the error that has something to do with Java out of memory.
I'm running yEd on Win 8.1. 
Could you please check what could be wrong ?
 
Best,
Wojciech
 
Here's the error from yEd window on startup (when opening the problematic file)
 
 
yEd has encountered the following error: Could not import file
 
java.io.IOException
at B.A.A.B.S.ă(Unknown Source)
at B.A.A.B.S.ā(Unknown Source)
at B.A.A.J.A.ā(Unknown Source)
at B.A.A.J.A.ā(Unknown Source)
at B.A.A.J.D.ă(Unknown Source)
at B.A.A.J.D.Ă(Unknown Source)
at B.A.A.B$4.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2367)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:480)
at java.lang.StringBuffer.append(StringBuffer.java:309)
at java.util.regex.Matcher.appendReplacement(Matcher.java:839)
at java.util.regex.Matcher.replaceAll(Matcher.java:906)
at java.lang.String.replaceAll(String.java:2162)
at y.H.B.J$A.ā(Unknown Source)
at y.H.B.J.ā(Unknown Source)
at y.H.B.D.i$C.Č(Unknown Source)
at y.H.B.D.i$C.ā(Unknown Source)
at y.H.B.D.i$B.ā(Unknown Source)
at y.H.B.D.u.Ă(Unknown Source)
at y.H.B.D.m.ā(Unknown Source)
at y.H.B.D.i$12.ā(Unknown Source)
at y.H.B.A.Ă(Unknown Source)
at y.H.B.A.ā(Unknown Source)
at y.H.B.A$37.ā(Unknown Source)
at y.H.B.B._.ā(Unknown Source)
at y.H.B.B._.ā(Unknown Source)
at y.H.B.B._$A.ā(Unknown Source)
at y.H.B.B.Q.ā(Unknown Source)
at y.H.B.B.Q.ā(Unknown Source)
at y.H.B.B.Q.ā(Unknown Source)
at y.H.B.B.Q.ā(Unknown Source)
at y.H.B.D.d.Ă(Unknown Source)
at y.H.B.B.X.ā(Unknown Source)
at y.H.B.B.Y.ā(Unknown Source)
at y.H.B.B.Y.Ă(Unknown Source)
at y.H.B.B.Y.ā(Unknown Source)
at y.H.B.B.Y.ā(Unknown Source)
in Help by

1 Answer

0 votes

Maybe How can I prevent 'Out of Memory' errors in yEd? helps you resolve your problem.

by [yWorks] (161k points)
Legal Disclosure | Privacy Policy
...