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

I think you have a memory leak... (3.14.4)

0 votes
I've noticed when using the tool for any significant length of time it gets slower, today I had a dialog pop up complaining of no resources. I didn't think to grab it at the time. It's a good product and we are trying to use it for SysML documentation, for which there are few competitors... This memory leak is an issue though!
in Help by

3 Answers

0 votes

Well, you might be right. However, given the information in your post there really is no way for us to verify or reproduce your assumed memory leak. And without being able to reproduce the leak, there is also no way to fix it.

Unfortunately, if a problem manifests only after a "significant length of time", finding the exact steps for reproducing the problem is especially difficult. Indeed, having a screen cast of the complete yEd session is the only way I can think of approaching such a problem. Of course, noone records their yEd sessions just in case they happen to trigger a memory leak (or any other error for that matter). And consequently we cannot get the information we need to systematically hunt down problems of this kind.

by [yWorks] (160k points)
0 votes

If you have some means of monitoring the current memory requirement I'm happy to keep an eye on it and let you know what user action causing the issue. Alas I didn't record my entire editing session for your perusal. It's proprietary IP anyway, so I'd not be able to release it. I would recommend some regression style automated algorithms that continuously grab random items and connect them together, then delete them, cut/paste, etc. Branch line static testing, scrub back to empty perodicalty and ensure its baseline, etc. That should show something. I'm using the Directed Orthoganol Layout with mostly UML shapes, cuting and pasting between diagrams, moving them about. Not using any groups.

It seems to be fairly reliably dodgy, its the first time I've seen a dialog but the system always seems to slow down after half an hour or so. Gets very slow.

(Don't know why but whilst typing this the form is dropping characters as I type. Then the DOM explorer suddenly appeared just now and it's stopped. Seemed to start after the first gap in the text.)

by
0 votes

Unfortunately, we do not have monitoring capabilities in yEd.

Maybe I came across the wrong way in my first answer. I do not expect yEd users to record their yEd sessions. And I do consider it our responsibility to improve yEd in this regard. However, given the many features in yEd, I think chances are almost non-existent that executing random operations (even for lengthy time) will trigger a memory leak.

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